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

Unified Diff: third_party/WebKit/Source/core/editing/DOMSelection.cpp

Issue 2593983002: Replace DOMWindowProperty in core/ with ContextClient (Closed)
Patch Set: temp Created 4 years 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/editing/DOMSelection.cpp
diff --git a/third_party/WebKit/Source/core/editing/DOMSelection.cpp b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
index e7c2c90f96b4e024411441a5976e81793204f542..17eb72c9353bbcfabca917ac93db248aeea239dc 100644
--- a/third_party/WebKit/Source/core/editing/DOMSelection.cpp
+++ b/third_party/WebKit/Source/core/editing/DOMSelection.cpp
@@ -59,7 +59,7 @@ static Node* selectionShadowAncestor(LocalFrame* frame) {
}
DOMSelection::DOMSelection(const TreeScope* treeScope)
- : DOMWindowProperty(treeScope->rootNode().document().frame()),
+ : ContextClient(treeScope->rootNode().document().frame()),
m_treeScope(treeScope) {}
void DOMSelection::clearTreeScope() {
@@ -669,7 +669,7 @@ void DOMSelection::addConsoleError(const String& message) {
DEFINE_TRACE(DOMSelection) {
visitor->trace(m_treeScope);
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/editing/DOMSelection.h ('k') | third_party/WebKit/Source/core/frame/History.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698