Index: Source/modules/crypto/WorkerGlobalScopeCrypto.cpp |
diff --git a/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp b/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp |
index 2442e297aa611ea3fec5f93abbbe3e0f34e96f8c..51b49c43c2b4974dd8f4a4eb9aa0ba54264fa455 100644 |
--- a/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp |
+++ b/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp |
@@ -54,7 +54,7 @@ WorkerGlobalScopeCrypto& WorkerGlobalScopeCrypto::from(WorkerSupplementable& con |
WorkerGlobalScopeCrypto* supplement = static_cast<WorkerGlobalScopeCrypto*>(WorkerSupplement::from(context, supplementName())); |
if (!supplement) { |
supplement = new WorkerGlobalScopeCrypto(); |
- provideTo(context, supplementName(), adoptPtr(supplement)); |
+ provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement)); |
} |
return *supplement; |
} |
@@ -71,4 +71,9 @@ WorkerCrypto* WorkerGlobalScopeCrypto::crypto() const |
return m_crypto.get(); |
} |
+void WorkerGlobalScopeCrypto::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_crypto); |
+} |
+ |
} // namespace WebCore |