Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index a382032e07755c937981c9626f178ced875e36f2..5104976ba8b0f0ecb98693449aafe4635ed54fc0 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -2247,6 +2247,9 @@ void WebViewImpl::setCursorVisibilityState(bool isVisible) { |
void WebViewImpl::mouseCaptureLost() { |
TRACE_EVENT_ASYNC_END0("input", "capturing mouse", this); |
m_mouseCaptureNode = nullptr; |
+ LocalFrame* focusedFrame = focusedLocalFrameInWidget(); |
Navid Zolghadr
2017/04/10 17:16:14
Please make sure scheib@ knows about this change i
|
+ if (focusedFrame) |
+ focusedFrame->eventHandler().releasePointerCapture(); |
} |
void WebViewImpl::setFocus(bool enable) { |