* Remove m_dirtyRegion as it is not used as we pass every dirty region
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 10:46:38 +0000 (10:46 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 10:46:38 +0000 (10:46 +0000)
  directly to the ChromeClient

Signed-off-by: Lars
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29221 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/qt/ScrollViewQt.cpp

index 0d2d2a87546705541e25c0b5cb505adb5f3fc7d1..43ce08c1d99a5f26eb9e234f4c00d4b134bed95f 100644 (file)
@@ -1,3 +1,13 @@
+2008-01-07  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
+
+        Reviewed by Lars.
+
+        * Remove m_dirtyRegion as it is not used as we pass every dirty region
+        directly to the ChromeClient
+
+        * platform/qt/ScrollViewQt.cpp:
+        (WebCore::ScrollView::paint):
+
 2008-01-06  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Reviewed by Oliver.
index b5b5beb514ca4fbc77d6583b8891f862e152c70d..7c3a846dab272fdf844daba79d15c8340ed64a2c 100644 (file)
@@ -92,7 +92,6 @@ public:
     ScrollbarMode m_hScrollbarMode;
     RefPtr<PlatformScrollbar> m_vBar;
     RefPtr<PlatformScrollbar> m_hBar;
-    QRegion m_dirtyRegion;
     HashSet<Widget*> m_children;
 };
 
@@ -649,9 +648,6 @@ void ScrollView::paint(GraphicsContext* context, const IntRect& rect)
 
         context->restore();
     }
-
-    m_data->m_dirtyRegion = QRegion(); //clear the cache...
-
 }
 
 void ScrollView::wheelEvent(PlatformWheelEvent& e)