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

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

Issue 2146013003: Rename adjustPointerLockElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/TreeScope.cpp
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
index ff7396764d943d7314394e226cec2ecc21e08a39..9bee35b9f5e5c2ad6ecf65045dd42107e1e4dfb6 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
+++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
@@ -388,7 +388,7 @@ Element* TreeScope::adjustedFocusedElement() const
return nullptr;
}
-Element* TreeScope::adjustedPointerLockElement(const Element& target) const
+Element* TreeScope::retargetElementIfInSameTreeScope(const Element& target) const
{
const Element* adjustedTarget = ⌖
// Unless the target is in the same TreeScope as |scope|, traverse up shadow trees to
@@ -405,6 +405,7 @@ Element* TreeScope::adjustedPointerLockElement(const Element& target) const
}
return nullptr;
}
+
unsigned short TreeScope::comparePosition(const TreeScope& otherScope) const
{
if (otherScope == this)
« no previous file with comments | « third_party/WebKit/Source/core/dom/TreeScope.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698