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

Unified Diff: third_party/WebKit/Source/modules/storage/DOMWindowStorage.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/DOMWindowStorage.h
diff --git a/third_party/WebKit/Source/modules/storage/DOMWindowStorage.h b/third_party/WebKit/Source/modules/storage/DOMWindowStorage.h
index 92e1cfab6fe90f768bf25dab7b9ddde9e4482d1d..b44d145de804d79c1585a26559be54fe33d266de 100644
--- a/third_party/WebKit/Source/modules/storage/DOMWindowStorage.h
+++ b/third_party/WebKit/Source/modules/storage/DOMWindowStorage.h
@@ -15,10 +15,8 @@ class DOMWindow;
class ExceptionState;
class Storage;
-class DOMWindowStorage final : public NoBaseWillBeGarbageCollected<DOMWindowStorage>, public WillBeHeapSupplement<LocalDOMWindow>, public DOMWindowProperty {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowStorage);
- DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowStorage);
- USING_FAST_MALLOC_WILL_BE_REMOVED(DOMWindowStorage);
+class DOMWindowStorage final : public GarbageCollected<DOMWindowStorage>, public HeapSupplement<LocalDOMWindow>, public DOMWindowProperty {
+ USING_GARBAGE_COLLECTED_MIXIN(DOMWindowStorage);
public:
static DOMWindowStorage& from(LocalDOMWindow&);
static Storage* sessionStorage(DOMWindow&, ExceptionState&);
@@ -35,9 +33,9 @@ private:
explicit DOMWindowStorage(LocalDOMWindow&);
static const char* supplementName();
- RawPtrWillBeMember<LocalDOMWindow> m_window;
- mutable PersistentWillBeMember<Storage> m_sessionStorage;
- mutable PersistentWillBeMember<Storage> m_localStorage;
+ Member<LocalDOMWindow> m_window;
+ mutable Member<Storage> m_sessionStorage;
+ mutable Member<Storage> m_localStorage;
};

Powered by Google App Engine
This is Rietveld 408576698