| Index: third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| index 6aac6559c687643727297c180bdd93e7f334f5a1..e38da0a04541a6af1ebd951029ae0ff4c417c8b0 100644
|
| --- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| +++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| @@ -266,11 +266,11 @@ bool InspectorOverlay::handleInputEvent(const WebInputEvent& inputEvent)
|
| return true;
|
|
|
| if (mouseEvent.type() == PlatformEvent::MouseMoved)
|
| - handled = overlayMainFrame()->eventHandler().handleMouseMoveEvent(mouseEvent);
|
| + handled = overlayMainFrame()->eventHandler().handleMouseMoveEvent(mouseEvent) != WebInputEventResult::NotHandled;
|
| if (mouseEvent.type() == PlatformEvent::MousePressed)
|
| - handled = overlayMainFrame()->eventHandler().handleMousePressEvent(mouseEvent);
|
| + handled = overlayMainFrame()->eventHandler().handleMousePressEvent(mouseEvent) != WebInputEventResult::NotHandled;
|
| if (mouseEvent.type() == PlatformEvent::MouseReleased)
|
| - handled = overlayMainFrame()->eventHandler().handleMouseReleaseEvent(mouseEvent);
|
| + handled = overlayMainFrame()->eventHandler().handleMouseReleaseEvent(mouseEvent) != WebInputEventResult::NotHandled;
|
| }
|
|
|
| if (WebInputEvent::isTouchEventType(inputEvent.type)) {
|
| @@ -287,7 +287,7 @@ bool InspectorOverlay::handleInputEvent(const WebInputEvent& inputEvent)
|
|
|
| if (inputEvent.type == WebInputEvent::MouseWheel) {
|
| PlatformWheelEvent wheelEvent = PlatformWheelEventBuilder(m_webViewImpl->mainFrameImpl()->frameView(), static_cast<const WebMouseWheelEvent&>(inputEvent));
|
| - handled = overlayMainFrame()->eventHandler().handleWheelEvent(wheelEvent);
|
| + handled = overlayMainFrame()->eventHandler().handleWheelEvent(wheelEvent) != WebInputEventResult::NotHandled;
|
| }
|
|
|
| return handled;
|
|
|