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

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

Issue 712573003: Remove usesCompositedScrolling (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: wee 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
Index: sky/engine/core/page/Page.cpp
diff --git a/sky/engine/core/page/Page.cpp b/sky/engine/core/page/Page.cpp
index aa49f8c3c6670f06b04dcbaf74c986659b5a1e83..0fa6ff0dff225830571490143ac588d84842485e 100644
--- a/sky/engine/core/page/Page.cpp
+++ b/sky/engine/core/page/Page.cpp
@@ -142,21 +142,6 @@ ScrollingCoordinator* Page::scrollingCoordinator()
return m_scrollingCoordinator.get();
}
-PassRefPtr<ClientRectList> Page::nonFastScrollableRects(const LocalFrame* frame)
-{
- if (mainFrame()->document())
- mainFrame()->document()->updateLayout();
-
- Vector<IntRect> rects;
- if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- rects = scrollingCoordinator->computeShouldHandleScrollGestureOnMainThreadRegion(frame, IntPoint()).rects();
-
- Vector<FloatQuad> quads(rects.size());
- for (size_t i = 0; i < rects.size(); ++i)
- quads[i] = FloatRect(rects[i]);
- return ClientRectList::create(quads);
-}
-
void Page::setMainFrame(LocalFrame* mainFrame)
{
// Should only be called during initialization or swaps between local and

Powered by Google App Engine
This is Rietveld 408576698