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

Unified Diff: Source/web/WebFrameWidgetImpl.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/WebFrameWidgetImpl.h ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/web/WebFrameWidgetImpl.h ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698