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

Unified Diff: third_party/WebKit/Source/modules/storage/StorageNamespaceController.h

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/storage/StorageNamespaceController.h
diff --git a/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h b/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h
index 93dd6cb2b6f6c436cae323b11cc00c5371266827..6c5435d7dc594f3e8c1749bc1db663192b1ca5ac 100644
--- a/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h
+++ b/third_party/WebKit/Source/modules/storage/StorageNamespaceController.h
@@ -16,16 +16,15 @@ class InspectorDOMStorageAgent;
class StorageClient;
class StorageNamespace;
-class MODULES_EXPORT StorageNamespaceController final : public NoBaseWillBeGarbageCollectedFinalized<StorageNamespaceController>, public WillBeHeapSupplement<Page> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StorageNamespaceController);
- USING_FAST_MALLOC_WILL_BE_REMOVED(StorageNamespaceController);
+class MODULES_EXPORT StorageNamespaceController final : public GarbageCollectedFinalized<StorageNamespaceController>, public HeapSupplement<Page> {
+ USING_GARBAGE_COLLECTED_MIXIN(StorageNamespaceController);
public:
StorageNamespace* sessionStorage(bool optionalCreate = true);
StorageClient* getStorageClient() { return m_client; }
~StorageNamespaceController();
static void provideStorageNamespaceTo(Page&, StorageClient*);
- static StorageNamespaceController* from(Page* page) { return static_cast<StorageNamespaceController*>(WillBeHeapSupplement<Page>::from(page, supplementName())); }
+ static StorageNamespaceController* from(Page* page) { return static_cast<StorageNamespaceController*>(HeapSupplement<Page>::from(page, supplementName())); }
DECLARE_TRACE();
@@ -36,7 +35,7 @@ private:
static const char* supplementName();
OwnPtr<StorageNamespace> m_sessionStorage;
StorageClient* m_client;
- RawPtrWillBeMember<InspectorDOMStorageAgent> m_inspectorAgent;
+ Member<InspectorDOMStorageAgent> m_inspectorAgent;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698