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

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

Issue 2531603003: Only scroll on main if the targeted frames need to scroll on main (Closed)
Patch Set: Update sub-frame using loops instead of recursion & integrate a patch to fix spv2 problem Created 4 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.h
diff --git a/third_party/WebKit/Source/core/page/Page.h b/third_party/WebKit/Source/core/page/Page.h
index 69e603bfc81921b7e1cc668dbaa8ee6dc62ee935..27f16dba1dd750b5acb79c8db5441a6d96f8993b 100644
--- a/third_party/WebKit/Source/core/page/Page.h
+++ b/third_party/WebKit/Source/core/page/Page.h
@@ -171,7 +171,7 @@ class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>,
ScrollingCoordinator* scrollingCoordinator();
- String mainThreadScrollingReasonsAsText();
+ String mainThreadScrollingReasonsAsText(Frame*);
pdr. 2016/12/07 22:25:29 nit: String mainThreadScrollingReasonsAsText(const
yigu 2016/12/08 18:52:29 This function cannot be const as it calls Page::sc
ClientRectList* nonFastScrollableRects(const LocalFrame*);
Settings& settings() const { return *m_settings; }

Powered by Google App Engine
This is Rietveld 408576698