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

Unified Diff: third_party/WebKit/Source/core/events/EventDispatchMediator.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/events/EventDispatchMediator.h
diff --git a/third_party/WebKit/Source/core/events/EventDispatchMediator.h b/third_party/WebKit/Source/core/events/EventDispatchMediator.h
index 194256850958eb18f1fc2bc517b79dbb55412007..a090a63732a85d7f3c0a50f9893a88941c5d6e54 100644
--- a/third_party/WebKit/Source/core/events/EventDispatchMediator.h
+++ b/third_party/WebKit/Source/core/events/EventDispatchMediator.h
@@ -42,21 +42,21 @@ namespace blink {
class Event;
class EventDispatcher;
-class EventDispatchMediator : public RefCountedWillBeGarbageCollectedFinalized<EventDispatchMediator> {
+class EventDispatchMediator : public GarbageCollectedFinalized<EventDispatchMediator> {
public:
- static PassRefPtrWillBeRawPtr<EventDispatchMediator> create(PassRefPtrWillBeRawPtr<Event>);
+ static RawPtr<EventDispatchMediator> create(RawPtr<Event>);
virtual ~EventDispatchMediator() { }
DECLARE_VIRTUAL_TRACE();
virtual DispatchEventResult dispatchEvent(EventDispatcher&) const;
Event& event() const { return *m_event; }
protected:
- explicit EventDispatchMediator(PassRefPtrWillBeRawPtr<Event>);
+ explicit EventDispatchMediator(RawPtr<Event>);
EventDispatchMediator() { }
- void setEvent(PassRefPtrWillBeRawPtr<Event> event) { ASSERT(event.get()); m_event = event; }
+ void setEvent(RawPtr<Event> event) { ASSERT(event.get()); m_event = event; }
private:
- RefPtrWillBeMember<Event> m_event;
+ Member<Event> m_event;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/events/Event.idl ('k') | third_party/WebKit/Source/core/events/EventDispatchMediator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698