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

Unified Diff: third_party/WebKit/Source/core/frame/Navigator.cpp

Issue 2593983002: Replace DOMWindowProperty in core/ with ContextClient (Closed)
Patch Set: 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/frame/Navigator.cpp
diff --git a/third_party/WebKit/Source/core/frame/Navigator.cpp b/third_party/WebKit/Source/core/frame/Navigator.cpp
index 0162bf5d0f09950d5bfb19a6e4e5644c057636bf..59d7c7a7e91371730a5af96b26f5fc775df9974c 100644
--- a/third_party/WebKit/Source/core/frame/Navigator.cpp
+++ b/third_party/WebKit/Source/core/frame/Navigator.cpp
@@ -36,7 +36,7 @@
namespace blink {
-Navigator::Navigator(LocalFrame* frame) : DOMWindowProperty(frame) {}
+Navigator::Navigator(LocalFrame* frame) : ContextClient(frame) {}
String Navigator::productSub() const {
return "20030107";
@@ -98,7 +98,7 @@ Vector<String> Navigator::languages() {
}
DEFINE_TRACE(Navigator) {
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
Supplementable<Navigator>::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698