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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 1459023002: Compositor Animation Timelines: Fix frame swapping tests in WebFrameTest.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check if m_page is null in WebPagePopupImpl. Created 5 years 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/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index 3ec85f1254f91bb4ac9abccee16d1df793bf00e3..9ffca12919b60adb34894938729e63aad675a7cc 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -546,10 +546,16 @@ DEFINE_TRACE(Page)
MemoryPurgeClient::trace(visitor);
}
-void Page::willCloseLayerTreeView()
+void Page::layerTreeViewInitialized(WebLayerTreeView& layerTreeView)
+{
+ if (scrollingCoordinator())
+ scrollingCoordinator()->layerTreeViewInitialized(layerTreeView);
+}
+
+void Page::willCloseLayerTreeView(WebLayerTreeView& layerTreeView)
{
if (m_scrollingCoordinator)
- m_scrollingCoordinator->willCloseLayerTreeView();
+ m_scrollingCoordinator->willCloseLayerTreeView(layerTreeView);
}
void Page::willBeDestroyed()
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.h ('k') | third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698