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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1980133002: Implement pointer lock API for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing one more override Created 4 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/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index ca2a90e19217082b68f6e8b8d71b404e40560d79..9c74068055897d0e2168a1b1735c28d2907d3830 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -5316,8 +5316,8 @@ void Document::exitPointerLock()
if (Element* target = page()->pointerLockController().element()) {
if (target->document() != this)
return;
+ page()->pointerLockController().requestPointerUnlock();
}
- page()->pointerLockController().requestPointerUnlock();
}
Element* Document::pointerLockElement() const

Powered by Google App Engine
This is Rietveld 408576698