Remove unnecessary call to enclosingClippingScopes()
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Aug 2019 16:53:02 +0000 (16:53 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 23 Aug 2019 16:53:02 +0000 (16:53 +0000)
https://bugs.webkit.org/show_bug.cgi?id=201063

Reviewed by Zalan Bujtas.

This line of code did nothing, and was left in by mistake. Remove it.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateOverlapMap const):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249047 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayerCompositor.cpp

index 4162648..dda5568 100644 (file)
@@ -1,5 +1,17 @@
 2019-08-23  Simon Fraser  <simon.fraser@apple.com>
 
+        Remove unnecessary call to enclosingClippingScopes()
+        https://bugs.webkit.org/show_bug.cgi?id=201063
+
+        Reviewed by Zalan Bujtas.
+
+        This line of code did nothing, and was left in by mistake. Remove it.
+
+        * rendering/RenderLayerCompositor.cpp:
+        (WebCore::RenderLayerCompositor::updateOverlapMap const):
+
+2019-08-23  Simon Fraser  <simon.fraser@apple.com>
+
         Cache hasCompositedScrollableOverflow as a bit on RenderLayer
         https://bugs.webkit.org/show_bug.cgi?id=201065
 
index fed0bdb..a64b028 100644 (file)
@@ -1927,7 +1927,6 @@ void RenderLayerCompositor::addDescendantsToOverlapMapRecursive(LayerOverlapMap&
 void RenderLayerCompositor::updateOverlapMap(LayerOverlapMap& overlapMap, const RenderLayer& layer, OverlapExtent& layerExtent, bool didPushContainer, bool addLayerToOverlap, bool addDescendantsToOverlap) const
 {
     if (addLayerToOverlap) {
-        auto clippingScopes = enclosingClippingScopes(layer, rootRenderLayer());
         addToOverlapMap(overlapMap, layer, layerExtent);
         LOG_WITH_STREAM(CompositingOverlap, stream << "layer " << &layer << " contributes to overlap, added to map " << overlapMap);
     }