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(); |