Index: Source/modules/donottrack/NavigatorDoNotTrack.h |
diff --git a/Source/modules/donottrack/NavigatorDoNotTrack.h b/Source/modules/donottrack/NavigatorDoNotTrack.h |
index 663811141bbd845e5ab3b24f6b069c6150ae05de..46f75c2ea5ee0337f1b9e7a92b8f29ddb0d80686 100644 |
--- a/Source/modules/donottrack/NavigatorDoNotTrack.h |
+++ b/Source/modules/donottrack/NavigatorDoNotTrack.h |
@@ -32,6 +32,7 @@ |
#define NavigatorDoNotTrack_h |
#include "core/frame/DOMWindowProperty.h" |
+#include "heap/Handle.h" |
#include "platform/Supplementable.h" |
#include "wtf/text/WTFString.h" |
@@ -40,7 +41,8 @@ namespace WebCore { |
class LocalFrame; |
class Navigator; |
-class NavigatorDoNotTrack FINAL : public Supplement<Navigator>, public DOMWindowProperty { |
+class NavigatorDoNotTrack FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorDoNotTrack>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty { |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorDoNotTrack); |
public: |
virtual ~NavigatorDoNotTrack(); |
static NavigatorDoNotTrack& from(Navigator&); |
@@ -49,6 +51,8 @@ public: |
String doNotTrack(); |
+ void trace(Visitor*) { } |
+ |
private: |
explicit NavigatorDoNotTrack(LocalFrame*); |
static const char* supplementName(); |