[Qt] Compilation fails on disabling TextureMapper
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jul 2011 23:01:46 +0000 (23:01 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jul 2011 23:01:46 +0000 (23:01 +0000)
https://bugs.webkit.org/show_bug.cgi?id=64408

Fix compilation error due to API name change in GraphicsLayer

Patch by Dinu Jacob <dinu.jacob@nokia.com> on 2011-07-16
Reviewed by Noam Rosenthal.

* platform/graphics/qt/GraphicsLayerQt.cpp:
(WebCore::GraphicsLayerQt::setContentsToBackgroundColor):
* platform/graphics/qt/GraphicsLayerQt.h:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp
Source/WebCore/platform/graphics/qt/GraphicsLayerQt.h

index ab7bb40..48ce4d2 100644 (file)
@@ -1,3 +1,16 @@
+2011-07-16  Dinu Jacob  <dinu.jacob@nokia.com>
+
+        [Qt] Compilation fails on disabling TextureMapper
+        https://bugs.webkit.org/show_bug.cgi?id=64408
+
+        Fix compilation error due to API name change in GraphicsLayer
+
+        Reviewed by Noam Rosenthal.
+
+        * platform/graphics/qt/GraphicsLayerQt.cpp:
+        (WebCore::GraphicsLayerQt::setContentsToBackgroundColor):
+        * platform/graphics/qt/GraphicsLayerQt.h:
+
 2011-07-15  Pratik Solanki  <psolanki@apple.com>
 
         Part of https://bugs.webkit.org/show_bug.cgi?id=63674
index c34d8b5..a887d59 100644 (file)
@@ -1238,12 +1238,12 @@ void GraphicsLayerQt::setContentsToImage(Image* image)
 
 /* \reimp (GraphicsLayer.h)
 */
-void GraphicsLayerQt::setContentsBackgroundColor(const Color& color)
+void GraphicsLayerQt::setContentsToBackgroundColor(const Color& color)
 {
     m_impl->notifyChange(GraphicsLayerQtImpl::ContentChange);
     m_impl->m_pendingContent.contentType = GraphicsLayerQtImpl::ColorContentType;
     m_impl->m_pendingContent.contentsBackgroundColor = QColor(color);
-    GraphicsLayer::setContentsBackgroundColor(color);
+    GraphicsLayer::setContentsToBackgroundColor(color);
 }
 
 void GraphicsLayerQt::setContentsToMedia(PlatformLayer* media)
index 2af98fd..8655728 100644 (file)
@@ -76,7 +76,7 @@ public:
     virtual void setContentsNeedsDisplay();
     virtual void setContentsToMedia(PlatformLayer*);
     virtual void setContentsToCanvas(PlatformLayer*);
-    virtual void setContentsBackgroundColor(const Color&);
+    virtual void setContentsToBackgroundColor(const Color&);
     virtual void setContentsOrientation(CompositingCoordinatesOrientation orientation);
     virtual void distributeOpacity(float);
     virtual float accumulatedOpacity() const;