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

Unified Diff: third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp

Issue 2596443005: Replace DOMWindowProperty in Navigator supplements 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/modules/geolocation/NavigatorGeolocation.cpp
diff --git a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
index a9526ed18e078fee7096b1e78febd2497874591e..e74f11ab4ec1e58ef52c43a935628c3e5065a634 100644
--- a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
+++ b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
@@ -31,7 +31,7 @@
namespace blink {
NavigatorGeolocation::NavigatorGeolocation(LocalFrame* frame)
- : DOMWindowProperty(frame) {}
+ : ContextClient(frame) {}
const char* NavigatorGeolocation::supplementName() {
return "NavigatorGeolocation";
@@ -60,7 +60,7 @@ Geolocation* NavigatorGeolocation::geolocation() {
DEFINE_TRACE(NavigatorGeolocation) {
visitor->trace(m_geolocation);
Supplement<Navigator>::trace(visitor);
- DOMWindowProperty::trace(visitor);
+ ContextClient::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698