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

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

Issue 2741633002: Remove FrameHost::eventHandlerRegistry() (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
Index: third_party/WebKit/Source/core/input/TouchEventManager.cpp
diff --git a/third_party/WebKit/Source/core/input/TouchEventManager.cpp b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
index 43c79beb854965f10e2244d5c4995f6dbb699106..e8f0f51dfe95085fb7a18dda73dedf4e3bc48a4e 100644
--- a/third_party/WebKit/Source/core/input/TouchEventManager.cpp
+++ b/third_party/WebKit/Source/core/input/TouchEventManager.cpp
@@ -484,9 +484,9 @@ bool TouchEventManager::reHitTestTouchPointsIfNeeded(
// If there's no document receiving touch events, or no handlers on the
// document set to receive the events, then we can skip all the rest of
// this work.
- if (!m_touchSequenceDocument || !m_touchSequenceDocument->frameHost() ||
+ if (!m_touchSequenceDocument || !m_touchSequenceDocument->page() ||
!hasTouchHandlers(
- m_touchSequenceDocument->frameHost()->eventHandlerRegistry()) ||
+ m_touchSequenceDocument->page()->eventHandlerRegistry()) ||
!m_touchSequenceDocument->frame()) {
if (allTouchesReleased) {
m_touchSequenceDocument.clear();

Powered by Google App Engine
This is Rietveld 408576698