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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2742673002: Remove FrameHost::globalRootScrollerController() (Closed)
Patch Set: Rebase Created 3 years, 9 months 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 | « no previous file | third_party/WebKit/Source/core/frame/FrameHost.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 7439353a56279060a8e375590fb95951490fd885..cde1c106f18ac2c7486d7dc8bb4f209158ab2c4d 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -531,7 +531,7 @@ void Element::callDistributeScroll(ScrollState& scrollState) {
// crbug.com/623079.
bool disableCustomCallbacks = !scrollState.isDirectManipulation() &&
!document()
- .frameHost()
+ .page()
->globalRootScrollerController()
.isViewportScrollCallback(callback);
@@ -620,7 +620,7 @@ void Element::callApplyScroll(ScrollState& scrollState) {
// crbug.com/623079.
bool disableCustomCallbacks = !scrollState.isDirectManipulation() &&
!document()
- .frameHost()
+ .page()
->globalRootScrollerController()
.isViewportScrollCallback(callback);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698