Chromium Code Reviews| Index: Source/modules/donottrack/NavigatorDoNotTrack.h |
| diff --git a/Source/modules/donottrack/NavigatorDoNotTrack.h b/Source/modules/donottrack/NavigatorDoNotTrack.h |
| index 663811141bbd845e5ab3b24f6b069c6150ae05de..1a1f7d4374b41d49692928b36c1ae1340579b2ac 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(); |
| + virtual void trace(Visitor*) { } |
|
haraken
2014/03/19 04:02:36
Drop virtual.
|
| + |
| private: |
| explicit NavigatorDoNotTrack(LocalFrame*); |
| static const char* supplementName(); |