Title: [121942] trunk/Source/WebKit2
Revision
121942
Author
[email protected]
Date
2012-07-05 21:31:26 -0700 (Thu, 05 Jul 2012)

Log Message

[Qt] Transform should be applied to the clip rect in QRawWebView::paint
https://bugs.webkit.org/show_bug.cgi?id=90652

Patch by Luiz Agostini <[email protected]> on 2012-07-05
Reviewed by Kenneth Rohde Christiansen.

Applying the transformation matrix to the clip rect in QRawWebView::paint.

* UIProcess/API/qt/raw/qrawwebview.cpp:
(QRawWebView::paint):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (121941 => 121942)


--- trunk/Source/WebKit2/ChangeLog	2012-07-06 04:25:11 UTC (rev 121941)
+++ trunk/Source/WebKit2/ChangeLog	2012-07-06 04:31:26 UTC (rev 121942)
@@ -1,3 +1,15 @@
+2012-07-05  Luiz Agostini  <[email protected]>
+
+        [Qt] Transform should be applied to the clip rect in QRawWebView::paint
+        https://bugs.webkit.org/show_bug.cgi?id=90652
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Applying the transformation matrix to the clip rect in QRawWebView::paint.
+
+        * UIProcess/API/qt/raw/qrawwebview.cpp:
+        (QRawWebView::paint):
+
 2012-07-05  Christophe Dumez  <[email protected]>
 
         [WK2][EFL] Ewk_View should provide API to set/get device pixel ratio

Modified: trunk/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp (121941 => 121942)


--- trunk/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp	2012-07-06 04:25:11 UTC (rev 121941)
+++ trunk/Source/WebKit2/UIProcess/API/qt/raw/qrawwebview.cpp	2012-07-06 04:31:26 UTC (rev 121942)
@@ -360,7 +360,7 @@
 
     WebCore::FloatRect rect(0, 0, d->m_size.width(), d->m_size.height());
 
-    renderer->paintToCurrentGLContext(transform, opacity, rect, paintFlags);
+    renderer->paintToCurrentGLContext(transform, opacity, transform.mapRect(rect), paintFlags);
 }
 
 void QRawWebView::sendKeyEvent(QKeyEvent* event)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to