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

Unified Diff: third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
diff --git a/third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp b/third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
index 12ba53f9956d271a6cd1d37603cc5fa91a9924f6..864e3349ef170c345d07aad15b32bf149ca6a08e 100644
--- a/third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
+++ b/third_party/WebKit/Source/modules/crypto/WorkerGlobalScopeCrypto.cpp
@@ -44,9 +44,9 @@ const char* WorkerGlobalScopeCrypto::supplementName()
return "WorkerGlobalScopeCrypto";
}
-WorkerGlobalScopeCrypto& WorkerGlobalScopeCrypto::from(WillBeHeapSupplementable<WorkerGlobalScope>& context)
+WorkerGlobalScopeCrypto& WorkerGlobalScopeCrypto::from(HeapSupplementable<WorkerGlobalScope>& context)
{
- WorkerGlobalScopeCrypto* supplement = static_cast<WorkerGlobalScopeCrypto*>(WillBeHeapSupplement<WorkerGlobalScope>::from(context, supplementName()));
+ WorkerGlobalScopeCrypto* supplement = static_cast<WorkerGlobalScopeCrypto*>(HeapSupplement<WorkerGlobalScope>::from(context, supplementName()));
if (!supplement) {
supplement = new WorkerGlobalScopeCrypto();
provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -54,7 +54,7 @@ WorkerGlobalScopeCrypto& WorkerGlobalScopeCrypto::from(WillBeHeapSupplementable<
return *supplement;
}
-Crypto* WorkerGlobalScopeCrypto::crypto(WillBeHeapSupplementable<WorkerGlobalScope>& context)
+Crypto* WorkerGlobalScopeCrypto::crypto(HeapSupplementable<WorkerGlobalScope>& context)
{
return WorkerGlobalScopeCrypto::from(context).crypto();
}
@@ -69,7 +69,7 @@ Crypto* WorkerGlobalScopeCrypto::crypto() const
DEFINE_TRACE(WorkerGlobalScopeCrypto)
{
visitor->trace(m_crypto);
- WillBeHeapSupplement<WorkerGlobalScope>::trace(visitor);
+ HeapSupplement<WorkerGlobalScope>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698