Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 4228b9422e46d6bc963174afd94e3f0adc782f8f..26f9d09cea2e77b2800d364cdcc5af0df7f0fe27 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -4082,19 +4082,11 @@ bool WebViewImpl::tabsToLinks() const |
return m_tabsToLinks; |
} |
-void WebViewImpl::suppressInvalidations(bool enable) |
-{ |
- if (m_client) |
- m_client->suppressCompositorScheduling(enable); |
-} |
- |
void WebViewImpl::setRootGraphicsLayer(GraphicsLayer* layer) |
{ |
if (!m_layerTreeView) |
return; |
- suppressInvalidations(true); |
- |
VisualViewport& visualViewport = page()->frameHost().visualViewport(); |
visualViewport.attachToLayerTree(layer, graphicsLayerFactory()); |
if (layer) { |
@@ -4126,8 +4118,6 @@ void WebViewImpl::setRootGraphicsLayer(GraphicsLayer* layer) |
m_shouldDispatchFirstLayoutAfterFinishedParsing = true; |
page()->frameHost().visualViewport().clearLayersForTreeView(m_layerTreeView); |
} |
- |
- suppressInvalidations(false); |
} |
void WebViewImpl::invalidateRect(const IntRect& rect) |