Title: [107891] trunk/Source/WebCore
Revision
107891
Author
ander...@apple.com
Date
2012-02-15 23:12:19 -0800 (Wed, 15 Feb 2012)

Log Message

Fix unused parameter warnings.

* platform/graphics/ca/mac/WebTileCacheLayer.mm:
(-[WebTileCacheLayer setContentsScale:]):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (107890 => 107891)


--- trunk/Source/WebCore/ChangeLog	2012-02-16 07:05:34 UTC (rev 107890)
+++ trunk/Source/WebCore/ChangeLog	2012-02-16 07:12:19 UTC (rev 107891)
@@ -1,3 +1,10 @@
+2012-02-15  Anders Carlsson  <ander...@apple.com>
+
+        Fix unused parameter warnings.
+
+        * platform/graphics/ca/mac/WebTileCacheLayer.mm:
+        (-[WebTileCacheLayer setContentsScale:]):
+
 2012-02-15  Emil A Eklund  <e...@chromium.org>
 
         Convert RenderFrameSet to LayoutUnits in preparation for turning on subpixel layout

Modified: trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm (107890 => 107891)


--- trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2012-02-16 07:05:34 UTC (rev 107890)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2012-02-16 07:12:19 UTC (rev 107891)
@@ -173,6 +173,8 @@
     PlatformCALayer* platformLayer = PlatformCALayer::platformCALayer(m_tileCacheLayer);
     platformLayer->owner()->platformCALayerDidCreateTiles();
     revalidateTiles();
+#else
+    UNUSED_PARAM(contentsScale);
 #endif
 }
 

Modified: trunk/Source/WebCore/platform/graphics/ca/mac/WebTileCacheLayer.mm (107890 => 107891)


--- trunk/Source/WebCore/platform/graphics/ca/mac/WebTileCacheLayer.mm	2012-02-16 07:05:34 UTC (rev 107890)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/WebTileCacheLayer.mm	2012-02-16 07:12:19 UTC (rev 107891)
@@ -94,6 +94,8 @@
 
     if (contentsScale != oldContentsScale)
         _tileCache->setContentsScale(contentsScale);
+#else
+    UNUSED_PARAM(contentsScale);
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to