| Index: Source/core/page/EventHandler.cpp
|
| diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp
|
| index 3a2002d467809ddcb859ed6955e88ba282dcffc5..1ef1a33c29ebc469d93dc881d65b2fc87697d612 100644
|
| --- a/Source/core/page/EventHandler.cpp
|
| +++ b/Source/core/page/EventHandler.cpp
|
| @@ -3642,8 +3642,6 @@ bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event)
|
| m_originatingTouchPointDocument = doc;
|
| freshTouchEvents = false;
|
| }
|
| - if (!doc)
|
| - continue;
|
| if (!doc->hasTouchEventHandlers())
|
| continue;
|
| m_originatingTouchPointTargets.set(touchPointTargetKey, node);
|
| @@ -3667,8 +3665,6 @@ bool EventHandler::handleTouchEvent(const PlatformTouchEvent& event)
|
| if (!touchTarget.get())
|
| continue;
|
| Document* doc = touchTarget->toNode()->document();
|
| - if (!doc)
|
| - continue;
|
| if (!doc->hasTouchEventHandlers())
|
| continue;
|
| Frame* targetFrame = doc->frame();
|
|
|