Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2807433003: No pointer captured when the pointer lock is applied (Closed)
Patch Set: Change the tests and move code to WebFrameWidgetBase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1f74c7660f156f70ea7ed1bd1c9e00a192452a4f..8746af436ec7cc7767453d7ad313bee3730bb7c7 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -2195,7 +2195,7 @@ WebInputEventResult WebViewImpl::HandleInputEvent(
if (is_pointer_locked &&
WebInputEvent::IsMouseEventType(input_event.GetType())) {
- MainFrameImpl()->FrameWidget()->PointerLockMouseEvent(input_event);
+ MainFrameImpl()->FrameWidget()->PointerLockMouseEvent(coalesced_event);
return WebInputEventResult::kHandledSystem;
}

Powered by Google App Engine
This is Rietveld 408576698