Title: [91155] trunk/Source/WebCore
Revision
91155
Author
[email protected]
Date
2011-07-16 16:01:46 -0700 (Sat, 16 Jul 2011)

Log Message

[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

Patch by Dinu Jacob <[email protected]> on 2011-07-16
Reviewed by Noam Rosenthal.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (91154 => 91155)


--- trunk/Source/WebCore/ChangeLog	2011-07-16 22:59:48 UTC (rev 91154)
+++ trunk/Source/WebCore/ChangeLog	2011-07-16 23:01:46 UTC (rev 91155)
@@ -1,3 +1,16 @@
+2011-07-16  Dinu Jacob  <[email protected]>
+
+        [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  <[email protected]>
 
         Part of https://bugs.webkit.org/show_bug.cgi?id=63674

Modified: trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp (91154 => 91155)


--- trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp	2011-07-16 22:59:48 UTC (rev 91154)
+++ trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.cpp	2011-07-16 23:01:46 UTC (rev 91155)
@@ -1238,12 +1238,12 @@
 
 /* \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)

Modified: trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.h (91154 => 91155)


--- trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.h	2011-07-16 22:59:48 UTC (rev 91154)
+++ trunk/Source/WebCore/platform/graphics/qt/GraphicsLayerQt.h	2011-07-16 23:01:46 UTC (rev 91155)
@@ -76,7 +76,7 @@
     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;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to