Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1203)

Unified Diff: Source/web/WebViewImpl.cpp

Issue 1323523002: Remove suppressInvalidations and suppressCompositorScheduling, they don't do anything. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | public/web/WebWidgetClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | public/web/WebWidgetClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698