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

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

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.cpp
diff --git a/Source/modules/donottrack/NavigatorDoNotTrack.cpp b/Source/modules/donottrack/NavigatorDoNotTrack.cpp
index 5035e39f8c4af2a4c1a69bdba4064af6a072905c..3963d35bc6eb5700aa799562964346e532dd2c52 100644
--- a/Source/modules/donottrack/NavigatorDoNotTrack.cpp
+++ b/Source/modules/donottrack/NavigatorDoNotTrack.cpp
@@ -42,8 +42,12 @@ NavigatorDoNotTrack::NavigatorDoNotTrack(LocalFrame* frame)
{
}
-NavigatorDoNotTrack::~NavigatorDoNotTrack()
+DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(NavigatorDoNotTrack);
+
+void NavigatorDoNotTrack::trace(Visitor* visitor)
{
+ WillBeHeapSupplement<Navigator>::trace(visitor);
+ DOMWindowProperty::trace(visitor);
}
const char* NavigatorDoNotTrack::supplementName()

Powered by Google App Engine
This is Rietveld 408576698