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

Unified Diff: third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.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/cachestorage/GlobalCacheStorage.cpp
diff --git a/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp b/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
index 91b1779b411412e7f306ea72d95111e0e0ea92c6..bd9eaac3c6e488ef5bffb79e602caf0e1814dbe7 100644
--- a/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
+++ b/third_party/WebKit/Source/modules/cachestorage/GlobalCacheStorage.cpp
@@ -19,15 +19,15 @@ namespace blink {
namespace {
template <typename T>
-class GlobalCacheStorageImpl final : public NoBaseWillBeGarbageCollectedFinalized<GlobalCacheStorageImpl<T>>, public WillBeHeapSupplement<T> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(GlobalCacheStorageImpl);
+class GlobalCacheStorageImpl final : public GarbageCollectedFinalized<GlobalCacheStorageImpl<T>>, public HeapSupplement<T> {
+ USING_GARBAGE_COLLECTED_MIXIN(GlobalCacheStorageImpl);
public:
static GlobalCacheStorageImpl& from(T& supplementable, ExecutionContext* executionContext)
{
- GlobalCacheStorageImpl* supplement = static_cast<GlobalCacheStorageImpl*>(WillBeHeapSupplement<T>::from(supplementable, name()));
+ GlobalCacheStorageImpl* supplement = static_cast<GlobalCacheStorageImpl*>(HeapSupplement<T>::from(supplementable, name()));
if (!supplement) {
supplement = new GlobalCacheStorageImpl();
- WillBeHeapSupplement<T>::provideTo(supplementable, name(), adoptPtrWillBeNoop(supplement));
+ HeapSupplement<T>::provideTo(supplementable, name(), adoptPtrWillBeNoop(supplement));
}
return *supplement;
}
@@ -62,7 +62,7 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE()
{
visitor->trace(m_caches);
- WillBeHeapSupplement<T>::trace(visitor);
+ HeapSupplement<T>::trace(visitor);
}
private:
@@ -72,7 +72,7 @@ private:
static const char* name() { return "CacheStorage"; }
- PersistentWillBeMember<CacheStorage> m_caches;
+ Member<CacheStorage> m_caches;
};
} // namespace

Powered by Google App Engine
This is Rietveld 408576698