Yet another attempt to fix Qt
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Feb 2008 09:30:30 +0000 (09:30 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Feb 2008 09:30:30 +0000 (09:30 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30165 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/html/HTMLCanvasElement.cpp

index 1fe4ac9..c1c8b6f 100644 (file)
@@ -2,6 +2,15 @@
 
         Reviewed by NOBODY (Build fix).
 
+        And another attempt to fixerate Qt
+
+        * html/HTMLCanvasElement.cpp:
+        (WebCore::HTMLCanvasElement::paint):
+
+2008-02-12  Oliver Hunt  <oliver@apple.com>
+
+        Reviewed by NOBODY (Build fix).
+
         Attempt to fix Qt build
 
         * html/HTMLCanvasElement.h:
index ff61f26..da66ef0 100644 (file)
@@ -192,7 +192,7 @@ void HTMLCanvasElement::paint(GraphicsContext* p, const IntRect& r)
 #elif PLATFORM(QT)
     QPixmap pixmap = createPlatformImage();
     if (!pixmap.isNull()) {
-        QPainter painter = p->platformContext();
+        QPainter* painter = p->platformContext();
         QPen currentPen = painter->pen();
         qreal currentOpacity = painter->opacity();
         QBrush currentBrush = painter->brush();