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

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

Issue 204063002: Oilpan: add transition types to Navigator and its supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months 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: 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();

Powered by Google App Engine
This is Rietveld 408576698