Title: [187494] trunk/Source/WebCore
Revision
187494
Author
[email protected]
Date
2015-07-28 11:26:25 -0700 (Tue, 28 Jul 2015)

Log Message

Remove some more bits of WebTiledLayer
https://bugs.webkit.org/show_bug.cgi?id=147356

Reviewed by Simon Fraser.

* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(PlatformCALayerCocoa::setContentsScale): Deleted.
(PlatformCALayer::setTileSize): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (187493 => 187494)


--- trunk/Source/WebCore/ChangeLog	2015-07-28 18:22:53 UTC (rev 187493)
+++ trunk/Source/WebCore/ChangeLog	2015-07-28 18:26:25 UTC (rev 187494)
@@ -1,3 +1,15 @@
+2015-07-28  Tim Horton  <[email protected]>
+
+        Remove some more bits of WebTiledLayer
+        https://bugs.webkit.org/show_bug.cgi?id=147356
+
+        Reviewed by Simon Fraser.
+
+        * platform/graphics/ca/PlatformCALayer.h:
+        * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
+        (PlatformCALayerCocoa::setContentsScale): Deleted.
+        (PlatformCALayer::setTileSize): Deleted.
+
 2015-07-28  Simon Fraser  <[email protected]>
 
         Change markContainingBlocksForLayout() to take an enum, rather than a bool

Modified: trunk/Source/WebCore/platform/graphics/ca/PlatformCALayer.h (187493 => 187494)


--- trunk/Source/WebCore/platform/graphics/ca/PlatformCALayer.h	2015-07-28 18:22:53 UTC (rev 187493)
+++ trunk/Source/WebCore/platform/graphics/ca/PlatformCALayer.h	2015-07-28 18:26:25 UTC (rev 187494)
@@ -243,7 +243,6 @@
     void setBoundsOnMainThread(CGRect);
     void setPositionOnMainThread(CGPoint);
     void setAnchorPointOnMainThread(FloatPoint3D);
-    void setTileSize(const IntSize&);
 #endif
 
     virtual PassRefPtr<PlatformCALayer> createCompatibleLayer(LayerType, PlatformCALayerClient*) const = 0;

Modified: trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm (187493 => 187494)


--- trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2015-07-28 18:22:53 UTC (rev 187493)
+++ trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2015-07-28 18:26:25 UTC (rev 187494)
@@ -825,13 +825,6 @@
     [m_layer setContentsScale:value];
 #if PLATFORM(IOS)
     [m_layer setRasterizationScale:value];
-
-    if (m_layerType == LayerTypeWebTiledLayer) {
-        // This will invalidate all the tiles so we won't end up with stale tiles with the wrong scale in the wrong place,
-        // see <rdar://problem/9434765> for more information.
-        static NSDictionary *optionsDictionary = [[NSDictionary alloc] initWithObjectsAndKeys:[NSNumber numberWithBool:YES], kCATiledLayerRemoveImmediately, nil];
-        [(CATiledLayer *)m_layer.get() setNeedsDisplayInRect:[m_layer bounds] levelOfDetail:0 options:optionsDictionary];
-    }
 #endif
     END_BLOCK_OBJC_EXCEPTIONS
 }
@@ -998,12 +991,6 @@
         END_BLOCK_OBJC_EXCEPTIONS
     });
 }
-
-void PlatformCALayer::setTileSize(const IntSize&)
-{
-    if (m_layerType != LayerTypeWebTiledLayer)
-        return;
-}
 #endif // PLATFORM(IOS)
 
 PlatformCALayer::RepaintRectList PlatformCALayer::collectRectsToPaint(CGContextRef context, PlatformCALayer* platformCALayer)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to