Unreviewed, rolling out r156272.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Sep 2013 15:41:58 +0000 (15:41 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Sep 2013 15:41:58 +0000 (15:41 +0000)
http://trac.webkit.org/changeset/156272
https://bugs.webkit.org/show_bug.cgi?id=121909

Has no real effect (Requested by carewolf on #webkit).

* platform/graphics/qt/TileQt.cpp:
(WebCore::TileQt::updateBackBuffer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156398 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/qt/TileQt.cpp

index 7c2e45aa4f8dd37a8f71a914c7074bc934e9c08c..e75db8df7d210d82b9a90b8e832acb3461a0b4fd 100644 (file)
@@ -1,3 +1,14 @@
+2013-09-25  Commit Queue  <commit-queue@webkit.org>
+
+        Unreviewed, rolling out r156272.
+        http://trac.webkit.org/changeset/156272
+        https://bugs.webkit.org/show_bug.cgi?id=121909
+
+        Has no real effect (Requested by carewolf on #webkit).
+
+        * platform/graphics/qt/TileQt.cpp:
+        (WebCore::TileQt::updateBackBuffer):
+
 2013-09-25  Andreas Kling  <akling@apple.com>
 
         Move wheel event dispatch from Node to Element.
index 6ed55331edc87fecdab6ebeb4fdc16d36812ed03..aae456b17d9f414b5897cb5fe22b19631d4a5532 100644 (file)
@@ -112,12 +112,12 @@ Vector<IntRect> TileQt::updateBackBuffer()
     
     QPainter painter(m_backBuffer);
     GraphicsContext context(&painter);
+    context.translate(-m_rect.x(), -m_rect.y());
 
     Vector<IntRect> updatedRects;
     int size = dirtyRects.size();
     for (int n = 0; n < size; ++n)  {
         context.save();
-        context.translate(-m_rect.x(), -m_rect.y());
         IntRect rect = dirtyRects[n];
         updatedRects.append(rect);
         context.clip(FloatRect(rect));