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

Unified Diff: third_party/WebKit/Source/core/frame/EventHandlerRegistry.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/frame/EventHandlerRegistry.h
diff --git a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
index 38a8e95691e7bed626e0b2bfdb7fb46d273a87cd..4d1dd0882a33c5f0aa9ee129ac6a517517c0a885 100644
--- a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
+++ b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
@@ -15,13 +15,12 @@ class Document;
class EventListenerOptions;
class EventTarget;
-typedef HashCountedSet<RawPtrWillBeUntracedMember<EventTarget>> EventTargetSet;
+typedef HashCountedSet<UntracedMember<EventTarget>> EventTargetSet;
// Registry for keeping track of event handlers. Note that only handlers on
// documents that can be rendered or can receive input (i.e., are attached to a
// FrameHost) are registered here.
-class CORE_EXPORT EventHandlerRegistry final : public NoBaseWillBeGarbageCollectedFinalized<EventHandlerRegistry> {
- USING_FAST_MALLOC_WILL_BE_REMOVED(EventHandlerRegistry);
+class CORE_EXPORT EventHandlerRegistry final : public GarbageCollectedFinalized<EventHandlerRegistry> {
public:
explicit EventHandlerRegistry(FrameHost&);
virtual ~EventHandlerRegistry();
@@ -102,7 +101,7 @@ private:
void checkConsistency() const;
- RawPtrWillBeMember<FrameHost> m_frameHost;
+ Member<FrameHost> m_frameHost;
EventTargetSet m_targets[EventHandlerClassCount];
};

Powered by Google App Engine
This is Rietveld 408576698