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

Unified Diff: third_party/WebKit/Source/core/events/FocusEvent.h

Issue 1852663002: Oilpan: Remove WillBe types (part 9) (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/FocusEvent.h
diff --git a/third_party/WebKit/Source/core/events/FocusEvent.h b/third_party/WebKit/Source/core/events/FocusEvent.h
index bc4d7ec4d9df6bd6aaf28446e02a12f32c00dee6..3b3bf1de522a421fc95f6bfafc7204474fe82bf6 100644
--- a/third_party/WebKit/Source/core/events/FocusEvent.h
+++ b/third_party/WebKit/Source/core/events/FocusEvent.h
@@ -35,19 +35,19 @@ namespace blink {
class FocusEvent final : public UIEvent {
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<FocusEvent> create()
+ static RawPtr<FocusEvent> create()
{
return adoptRefWillBeNoop(new FocusEvent);
}
- static PassRefPtrWillBeRawPtr<FocusEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, int detail, EventTarget* relatedTarget, InputDeviceCapabilities* sourceCapabilities)
+ static RawPtr<FocusEvent> create(const AtomicString& type, bool canBubble, bool cancelable, RawPtr<AbstractView> view, int detail, EventTarget* relatedTarget, InputDeviceCapabilities* sourceCapabilities)
{
- return adoptRefWillBeNoop(new FocusEvent(type, canBubble, cancelable, view, detail, relatedTarget, sourceCapabilities));
+ return new FocusEvent(type, canBubble, cancelable, view, detail, relatedTarget, sourceCapabilities);
}
- static PassRefPtrWillBeRawPtr<FocusEvent> create(const AtomicString& type, const FocusEventInit& initializer)
+ static RawPtr<FocusEvent> create(const AtomicString& type, const FocusEventInit& initializer)
{
- return adoptRefWillBeNoop(new FocusEvent(type, initializer));
+ return new FocusEvent(type, initializer);
}
EventTarget* relatedTarget() const { return m_relatedTarget.get(); }
@@ -56,25 +56,25 @@ public:
const AtomicString& interfaceName() const override;
bool isFocusEvent() const override;
- PassRefPtrWillBeRawPtr<EventDispatchMediator> createMediator() override;
+ RawPtr<EventDispatchMediator> createMediator() override;
DECLARE_VIRTUAL_TRACE();
private:
FocusEvent();
- FocusEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView>, int, EventTarget*, InputDeviceCapabilities*);
+ FocusEvent(const AtomicString& type, bool canBubble, bool cancelable, RawPtr<AbstractView>, int, EventTarget*, InputDeviceCapabilities*);
FocusEvent(const AtomicString& type, const FocusEventInit&);
- RefPtrWillBeMember<EventTarget> m_relatedTarget;
+ Member<EventTarget> m_relatedTarget;
};
DEFINE_EVENT_TYPE_CASTS(FocusEvent);
class FocusEventDispatchMediator final : public EventDispatchMediator {
public:
- static PassRefPtrWillBeRawPtr<FocusEventDispatchMediator> create(PassRefPtrWillBeRawPtr<FocusEvent>);
+ static RawPtr<FocusEventDispatchMediator> create(RawPtr<FocusEvent>);
private:
- explicit FocusEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent>);
+ explicit FocusEventDispatchMediator(RawPtr<FocusEvent>);
FocusEvent& event() const { return static_cast<FocusEvent&>(EventDispatchMediator::event()); }
DispatchEventResult dispatchEvent(EventDispatcher&) const override;
};
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/events/FocusEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698