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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.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/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 8a687b75995b91133e4d27afa39a57afd308e8fd..7904a6beb7c4f7cb805d6065b3b99de2b053fe93 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -377,7 +377,7 @@ WebInputEventResult WebFrameWidgetImpl::HandleInputEvent(
DCHECK(client_);
if (client_->IsPointerLocked() &&
WebInputEvent::IsMouseEventType(input_event.GetType())) {
- PointerLockMouseEvent(input_event);
+ PointerLockMouseEvent(coalesced_event);
return WebInputEventResult::kHandledSystem;
}

Powered by Google App Engine
This is Rietveld 408576698