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

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

Issue 552733003: Oilpan: make DOMWindowProperty a GC mixin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Pacify GC plugin wrt LocalDOMWindow::trace() Created 6 years, 3 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 c5627b47202a010045d03d10acec071e6dffd2b6..be8b6926ac1ebbb845d0826cc81f53667dbb0f8d 100644
--- a/Source/modules/donottrack/NavigatorDoNotTrack.h
+++ b/Source/modules/donottrack/NavigatorDoNotTrack.h
@@ -41,17 +41,17 @@ namespace blink {
class LocalFrame;
class Navigator;
-class NavigatorDoNotTrack FINAL : public NoBaseWillBeGarbageCollectedFinalized<NavigatorDoNotTrack>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty {
+class NavigatorDoNotTrack FINAL : public NoBaseWillBeGarbageCollected<NavigatorDoNotTrack>, public WillBeHeapSupplement<Navigator>, public DOMWindowProperty {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(NavigatorDoNotTrack);
+ DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(NavigatorDoNotTrack);
public:
- virtual ~NavigatorDoNotTrack();
static NavigatorDoNotTrack& from(Navigator&);
static String doNotTrack(Navigator&);
String doNotTrack();
- virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<Navigator>::trace(visitor); }
+ virtual void trace(Visitor*) OVERRIDE;
private:
explicit NavigatorDoNotTrack(LocalFrame*);

Powered by Google App Engine
This is Rietveld 408576698