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

Unified Diff: Source/core/workers/WorkerNavigator.cpp

Issue 587393002: Oilpan: make Supplementable tracing more regular. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve dummy trace() comment 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
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.cpp ('k') | Source/platform/RefCountedSupplement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerNavigator.cpp
diff --git a/Source/core/workers/WorkerNavigator.cpp b/Source/core/workers/WorkerNavigator.cpp
index 7d5f55dc445785a6e7abc25297db17ccc9ec9a71..148a9cd50171fab9be34a33fc0255a6185698ab6 100644
--- a/Source/core/workers/WorkerNavigator.cpp
+++ b/Source/core/workers/WorkerNavigator.cpp
@@ -46,7 +46,9 @@ String WorkerNavigator::userAgent() const
void WorkerNavigator::trace(Visitor* visitor)
{
- WillBeHeapSupplementable<WorkerNavigator>::trace(visitor);
+#if ENABLE(OILPAN)
+ HeapSupplementable<WorkerNavigator>::trace(visitor);
+#endif
}
} // namespace blink
« no previous file with comments | « Source/core/workers/WorkerGlobalScope.cpp ('k') | Source/platform/RefCountedSupplement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698