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

Unified Diff: sky/engine/core/page/Page.cpp

Issue 721473002: Removed ScrollingCoordinator and a bunch of composited scrolling' (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cr comments Created 6 years, 1 month 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 | « sky/engine/core/page/Page.h ('k') | sky/engine/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/page/Page.cpp
diff --git a/sky/engine/core/page/Page.cpp b/sky/engine/core/page/Page.cpp
index 0fa6ff0dff225830571490143ac588d84842485e..72cf6e98b73fad3f02a390ded4c922439428ec13 100644
--- a/sky/engine/core/page/Page.cpp
+++ b/sky/engine/core/page/Page.cpp
@@ -39,7 +39,6 @@
#include "core/page/ChromeClient.h"
#include "core/page/FocusController.h"
#include "core/page/PageLifecycleNotifier.h"
-#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/rendering/RenderView.h"
#include "wtf/HashMap.h"
#include "wtf/RefCountedLeakCounter.h"
@@ -134,14 +133,6 @@ void Page::makeOrdinary()
ordinaryPages().add(this);
}
-ScrollingCoordinator* Page::scrollingCoordinator()
-{
- if (!m_scrollingCoordinator)
- m_scrollingCoordinator = ScrollingCoordinator::create(this);
-
- return m_scrollingCoordinator.get();
-}
-
void Page::setMainFrame(LocalFrame* mainFrame)
{
// Should only be called during initialization or swaps between local and
@@ -347,9 +338,6 @@ void Page::willBeDestroyed()
if (ordinaryPages().contains(this))
ordinaryPages().remove(this);
- if (m_scrollingCoordinator)
- m_scrollingCoordinator->willBeDestroyed();
-
#ifndef NDEBUG
pageCounter.decrement();
#endif
« no previous file with comments | « sky/engine/core/page/Page.h ('k') | sky/engine/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698