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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.cpp

Issue 1228833004: Oilpan: Move CachedMetadataHandler to Oilpan heap on Oilpan-enabled world. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move #if directives. Created 5 years, 5 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/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.cpp
diff --git a/Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.cpp b/Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.cpp
index d53961c1989c57b3af22c5865d6273334e3ad0e1..6a9d3340728a0fa405fde255fe43cf598f007d12 100644
--- a/Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.cpp
+++ b/Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.cpp
@@ -23,6 +23,14 @@ ServiceWorkerScriptCachedMetadataHandler::~ServiceWorkerScriptCachedMetadataHand
{
}
+DEFINE_TRACE(ServiceWorkerScriptCachedMetadataHandler)
+{
+#if ENABLE(OILPAN)
+ visitor->trace(m_workerGlobalScope);
+#endif
+ CachedMetadataHandler::trace(visitor);
+}
+
void ServiceWorkerScriptCachedMetadataHandler::setCachedMetadata(unsigned dataTypeID, const char* data, size_t size, CacheType type)
{
if (type != SendToPlatform)
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698