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

Unified Diff: Source/core/workers/SharedWorker.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/page/Page.cpp ('k') | Source/core/workers/WorkerClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/SharedWorker.cpp
diff --git a/Source/core/workers/SharedWorker.cpp b/Source/core/workers/SharedWorker.cpp
index fc05644179fbef73b1a5c4014e397d9c880c3580..272dd5d3141c24bbad04fc1cd6a93c80020a2eab 100644
--- a/Source/core/workers/SharedWorker.cpp
+++ b/Source/core/workers/SharedWorker.cpp
@@ -103,9 +103,11 @@ bool SharedWorker::hasPendingActivity() const
void SharedWorker::trace(Visitor* visitor)
{
+#if ENABLE(OILPAN)
visitor->trace(m_port);
+ HeapSupplementable<SharedWorker>::trace(visitor);
+#endif
AbstractWorker::trace(visitor);
- WillBeHeapSupplementable<SharedWorker>::trace(visitor);
}
} // namespace blink
« no previous file with comments | « Source/core/page/Page.cpp ('k') | Source/core/workers/WorkerClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698