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

Unified Diff: third_party/WebKit/Source/core/input/ScrollManager.cpp

Issue 2723993002: Rename platform/Widget to platform/FrameViewBase in core. (Closed)
Patch Set: Created 3 years, 10 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
Index: third_party/WebKit/Source/core/input/ScrollManager.cpp
diff --git a/third_party/WebKit/Source/core/input/ScrollManager.cpp b/third_party/WebKit/Source/core/input/ScrollManager.cpp
index 99c3fbdd973054618c1c3bab067cbe8a60cb65da..5ddbc2dbe6eacbe99c0804fb82e763d2da5b9ca9 100644
--- a/third_party/WebKit/Source/core/input/ScrollManager.cpp
+++ b/third_party/WebKit/Source/core/input/ScrollManager.cpp
@@ -361,13 +361,15 @@ WebInputEventResult ScrollManager::passScrollGestureEventToWidget(
!layoutObject->isLayoutPart())
return WebInputEventResult::NotHandled;
- Widget* widget = toLayoutPart(layoutObject)->widget();
+ FrameViewBase* frameViewBase = toLayoutPart(layoutObject)->widget();
- if (!widget || !widget->isFrameView())
+ if (!frameViewBase || !frameViewBase->isFrameView())
return WebInputEventResult::NotHandled;
- return toFrameView(widget)->frame().eventHandler().handleGestureScrollEvent(
- gestureEvent);
+ return toFrameView(frameViewBase)
+ ->frame()
+ .eventHandler()
+ .handleGestureScrollEvent(gestureEvent);
}
bool ScrollManager::isViewportScrollingElement(const Element& element) const {
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutEmbeddedObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698