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

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

Issue 2769263004: Remove Frame::host() method (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/core/input/EventHandler.cpp
diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
index 7d8aeabcfe489045402819de9ffbd4571fd90690..886d2b746bfb65380e99834f6ee68a1553f47d27 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.cpp
+++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
@@ -1312,7 +1312,7 @@ WebInputEventResult EventHandler::handleGestureEvent(
WebInputEventResult EventHandler::handleGestureEvent(
const GestureEventWithHitTestResults& targetedEvent) {
TRACE_EVENT0("input", "EventHandler::handleGestureEvent");
- if (!m_frame->host())
+ if (!m_frame->page())
return WebInputEventResult::NotHandled;
// Propagation to inner frames is handled below this function.
@@ -1345,7 +1345,7 @@ WebInputEventResult EventHandler::handleGestureEventInFrame(
WebInputEventResult EventHandler::handleGestureScrollEvent(
const WebGestureEvent& gestureEvent) {
TRACE_EVENT0("input", "EventHandler::handleGestureScrollEvent");
- if (!m_frame->host())
+ if (!m_frame->page())
return WebInputEventResult::NotHandled;
return m_scrollManager->handleGestureScrollEvent(gestureEvent);
@@ -1353,7 +1353,7 @@ WebInputEventResult EventHandler::handleGestureScrollEvent(
WebInputEventResult EventHandler::handleGestureScrollEnd(
const WebGestureEvent& gestureEvent) {
- if (!m_frame->host())
+ if (!m_frame->page())
return WebInputEventResult::NotHandled;
return m_scrollManager->handleGestureScrollEnd(gestureEvent);
}

Powered by Google App Engine
This is Rietveld 408576698