Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 19ce11bc7721cf131121d7de1b82affcce803a93..7c5943e8235bd61f068d39fc772d04fe51b5613c 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -677,6 +677,9 @@ bool WebViewImpl::scrollBy(const WebFloatSize& delta, const WebFloatSize& veloci |
bool WebViewImpl::handleGestureEvent(const WebGestureEvent& event) |
{ |
+ if (!m_client) |
+ return false; |
+ |
bool eventSwallowed = false; |
bool eventCancelled = false; // for disambiguation |