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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2654883002: Give OOPIF FrameViews their own scroll animation timelines and hosts (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 4f686427e736d2b74b9d810e5e813d769d90a867..c0e69a2d0a71697b45fc3edcefb24b9db2f28d79 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -651,8 +651,10 @@ bool WebFrameWidgetImpl::isAcceleratedCompositingActive() const {
}
void WebFrameWidgetImpl::willCloseLayerTreeView() {
- if (m_layerTreeView)
- page()->willCloseLayerTreeView(*m_layerTreeView);
+ if (m_layerTreeView) {
+ page()->willCloseLayerTreeView(*m_layerTreeView,
+ m_localRoot->frame()->view());
+ }
setIsAcceleratedCompositingActive(false);
m_mutator = nullptr;
@@ -996,8 +998,10 @@ void WebFrameWidgetImpl::initializeLayerTreeView() {
devTools->layerTreeViewChanged(m_layerTreeView);
page()->settings().setAcceleratedCompositingEnabled(m_layerTreeView);
- if (m_layerTreeView)
- page()->layerTreeViewInitialized(*m_layerTreeView);
+ if (m_layerTreeView) {
+ page()->layerTreeViewInitialized(*m_layerTreeView,
+ m_localRoot->frame()->view());
+ }
// FIXME: only unittests, click to play, Android priting, and printing (for
// headers and footers) make this assert necessary. We should make them not
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698