Title: [141187] trunk/Source/WebCore
Revision
141187
Author
timothy_hor...@apple.com
Date
2013-01-29 17:10:45 -0800 (Tue, 29 Jan 2013)

Log Message

Don't updateTileCoverageMap() from setScrollingModeIndication if we don't need to.

Reviewed by Simon Fraser.

Only do the work if the tiled scrolling indicator/map is enabled.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (141186 => 141187)


--- trunk/Source/WebCore/ChangeLog	2013-01-30 00:59:59 UTC (rev 141186)
+++ trunk/Source/WebCore/ChangeLog	2013-01-30 01:10:45 UTC (rev 141187)
@@ -1,3 +1,14 @@
+2013-01-29  Tim Horton  <timothy_hor...@apple.com>
+
+        Don't updateTileCoverageMap() from setScrollingModeIndication if we don't need to.
+
+        Reviewed by Simon Fraser.
+
+        Only do the work if the tiled scrolling indicator/map is enabled.
+
+        * platform/graphics/ca/mac/TileCache.mm:
+        (WebCore::TileCache::setScrollingModeIndication):
+
 2013-01-29  Chris Fleizach  <cfleiz...@apple.com>
 
         AX: Add support for aria-autocomplete="list" on ARIA combobox

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


--- trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2013-01-30 00:59:59 UTC (rev 141186)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2013-01-30 01:10:45 UTC (rev 141187)
@@ -896,7 +896,9 @@
         return;
 
     m_indicatorMode = scrollingMode;
-    updateTileCoverageMap();
+
+    if (m_tiledScrollingIndicatorLayer)
+        updateTileCoverageMap();
 }
 
 WebTileLayer* TileCache::tileLayerAtIndex(const TileIndex& index) const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to