Index: Source/web/WebFrameWidgetImpl.cpp |
diff --git a/Source/web/WebFrameWidgetImpl.cpp b/Source/web/WebFrameWidgetImpl.cpp |
index bfd1d4968049e1320aaf4c1b00cc30b028791228..62178cb91e187697881031f697018612559e2438 100644 |
--- a/Source/web/WebFrameWidgetImpl.cpp |
+++ b/Source/web/WebFrameWidgetImpl.cpp |
@@ -995,16 +995,8 @@ DeprecatedPaintLayerCompositor* WebFrameWidgetImpl::compositor() const |
return frame->document()->layoutView()->compositor(); |
} |
-void WebFrameWidgetImpl::suppressInvalidations(bool enable) |
-{ |
- if (m_client) |
- m_client->suppressCompositorScheduling(enable); |
-} |
- |
void WebFrameWidgetImpl::setRootGraphicsLayer(GraphicsLayer* layer) |
{ |
- suppressInvalidations(true); |
- |
m_rootGraphicsLayer = layer; |
m_rootLayer = layer ? layer->platformLayer() : nullptr; |
@@ -1024,8 +1016,6 @@ void WebFrameWidgetImpl::setRootGraphicsLayer(GraphicsLayer* layer) |
m_layerTreeView->clearViewportLayers(); |
} |
} |
- |
- suppressInvalidations(false); |
} |
void WebFrameWidgetImpl::attachCompositorAnimationTimeline(WebCompositorAnimationTimeline* compositorTimeline) |