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

Unified Diff: third_party/WebKit/Source/core/timing/DOMWindowPerformance.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/core/timing/DOMWindowPerformance.h
diff --git a/third_party/WebKit/Source/core/timing/DOMWindowPerformance.h b/third_party/WebKit/Source/core/timing/DOMWindowPerformance.h
index 5b2b5ee9443b20453335a27ad7ad25bdda3dbd89..6dbfe938ba991c86078579b04155222979b3a186 100644
--- a/third_party/WebKit/Source/core/timing/DOMWindowPerformance.h
+++ b/third_party/WebKit/Source/core/timing/DOMWindowPerformance.h
@@ -16,11 +16,9 @@ namespace blink {
class DOMWindow;
class Performance;
-class CORE_EXPORT DOMWindowPerformance final : public NoBaseWillBeGarbageCollected<DOMWindowPerformance>, public WillBeHeapSupplement<LocalDOMWindow>, public DOMWindowProperty {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPerformance);
- DECLARE_EMPTY_VIRTUAL_DESTRUCTOR_WILL_BE_REMOVED(DOMWindowPerformance);
+class CORE_EXPORT DOMWindowPerformance final : public GarbageCollected<DOMWindowPerformance>, public HeapSupplement<LocalDOMWindow>, public DOMWindowProperty {
+ USING_GARBAGE_COLLECTED_MIXIN(DOMWindowPerformance);
WTF_MAKE_NONCOPYABLE(DOMWindowPerformance);
- USING_FAST_MALLOC_WILL_BE_REMOVED(DOMWindowPerformance);
public:
static DOMWindowPerformance& from(LocalDOMWindow&);
static Performance* performance(DOMWindow&);
@@ -34,8 +32,8 @@ private:
Performance* performance();
// TODO(sof): try to move this direct reference and instead rely on frame().
- RawPtrWillBeMember<LocalDOMWindow> m_window;
- PersistentWillBeMember<Performance> m_performance;
+ Member<LocalDOMWindow> m_window;
+ Member<Performance> m_performance;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698