Title: [107885] trunk/Source/WebCore
Revision
107885
Author
[email protected]
Date
2012-02-15 22:10:24 -0800 (Wed, 15 Feb 2012)

Log Message

Another attempt at fixing the Snow Leopard build.

* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::setContentsScale):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (107884 => 107885)


--- trunk/Source/WebCore/ChangeLog	2012-02-16 05:57:10 UTC (rev 107884)
+++ trunk/Source/WebCore/ChangeLog	2012-02-16 06:10:24 UTC (rev 107885)
@@ -1,3 +1,10 @@
+2012-02-15  Anders Carlsson  <[email protected]>
+
+        Another attempt at fixing the Snow Leopard build.
+
+        * platform/graphics/ca/mac/TileCache.mm:
+        (WebCore::TileCache::setContentsScale):
+
 2012-02-15  Pablo Flouret  <[email protected]>
 
         Add support for the translate attribute in html elements.

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


--- trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2012-02-16 05:57:10 UTC (rev 107884)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2012-02-16 06:10:24 UTC (rev 107885)
@@ -164,6 +164,7 @@
 
 void TileCache::setContentsScale(CGFloat contentsScale)
 {
+#if !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)
     for (TileMap::const_iterator it = m_tiles.begin(), end = m_tiles.end(); it != end; ++it) {
         [it->second.get() setContentsScale:contentsScale];
         [it->second.get() setNeedsDisplay];
@@ -172,6 +173,7 @@
     PlatformCALayer* platformLayer = PlatformCALayer::platformCALayer(m_tileCacheLayer);
     platformLayer->owner()->platformCALayerDidCreateTiles();
     revalidateTiles();
+#endif
 }
 
 void TileCache::setAcceleratesDrawing(bool acceleratesDrawing)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to