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

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

Issue 2531603003: Only scroll on main if the targeted frames need to scroll on main (Closed)
Patch Set: Bug fix 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.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index bcc4c7944f597920d7f7e1e3a8638cb9c095e1af..e85b62cf2c336d5d957bba2caa0121ad1dfc7b52 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -164,9 +164,9 @@ ScrollingCoordinator* Page::scrollingCoordinator() {
return m_scrollingCoordinator.get();
}
-String Page::mainThreadScrollingReasonsAsText() {
+String Page::mainThreadScrollingReasonsAsText(Frame* frame) {
if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
- return scrollingCoordinator->mainThreadScrollingReasonsAsText();
+ return scrollingCoordinator->mainThreadScrollingReasonsAsText(frame);
return String();
}

Powered by Google App Engine
This is Rietveld 408576698