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

Unified Diff: third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h

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/donottrack/NavigatorDoNotTrack.h
diff --git a/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h b/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h
index 8b1026359ca2ac196ecbb3f8361d180010f67e28..6fd2a17a0fd16ba395c681769fed39cdcf1dd0e0 100644
--- a/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h
+++ b/third_party/WebKit/Source/modules/donottrack/NavigatorDoNotTrack.h
@@ -31,7 +31,7 @@
#ifndef NavigatorDoNotTrack_h
#define NavigatorDoNotTrack_h
-#include "core/frame/DOMWindowProperty.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "platform/Supplementable.h"
#include "platform/heap/Handle.h"
#include "wtf/text/WTFString.h"
@@ -43,7 +43,7 @@ class Navigator;
class NavigatorDoNotTrack final : public GarbageCollected<NavigatorDoNotTrack>,
public Supplement<Navigator>,
- public DOMWindowProperty {
+ public ContextClient {
USING_GARBAGE_COLLECTED_MIXIN(NavigatorDoNotTrack);
public:

Powered by Google App Engine
This is Rietveld 408576698