Attempt to fix QT build
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Jan 2008 13:20:42 +0000 (13:20 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Jan 2008 13:20:42 +0000 (13:20 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29449 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/html/CanvasRenderingContext2D.cpp

index fa5ad43..6667b11 100644 (file)
@@ -1,9 +1,20 @@
 2008-01-13  Oliver Hunt  <oliver@apple.com>
 
+        Reviewed by NOBODY (build fix).
+
+        Attempt to fix QT build
+
+        * html/CanvasRenderingContext2D.cpp:
+        (WebCore::CanvasRenderingContext2D::willDraw):
+
+2008-01-13  Oliver Hunt  <oliver@apple.com>
+
         Reviewed by Mark Rowe.
 
         Avoid repainting the entire canvas element when possible.
 
+        http://bugs.webkit.org/show_bug.cgi?id=16859
+
         We now only register the dirty regions of a canvas for repainting, rather
         than the entire element (though repaint coalescing may choose to combine
         these regions).  This doesn't cause a measurable regression in the worst
index 368dd2a..dc857e6 100644 (file)
@@ -1090,7 +1090,7 @@ void CanvasRenderingContext2D::willDraw(const FloatRect& r)
     cairo_get_matrix(cr, &m);
     transform = m;
 #elif PLATFORM(QT)
-    transform = c->platformContext().combinedMatrix();
+    transform = c->platformContext()->combinedMatrix();
 #else
     notImplemented();
     FloatRect completeBounds(0, 0, m_canvas->width(), m_canvas->height());