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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 2fc342cc06decff414896c4f32d6a9c0dc59e933..7198c3227284de9b45e9fd470368c43f852d38d8 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -2079,7 +2079,7 @@ String Internals::mainThreadScrollingReasons(
if (!page)
return String();
- return page->mainThreadScrollingReasonsAsText();
+ return page->mainThreadScrollingReasonsAsText(document->frame());
}
ClientRectList* Internals::nonFastScrollableRects(

Powered by Google App Engine
This is Rietveld 408576698