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

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

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, 10 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.cpp
diff --git a/third_party/WebKit/Source/core/events/FocusEvent.cpp b/third_party/WebKit/Source/core/events/FocusEvent.cpp
index 4ab9bcd8773b7de1d5d339ab769f2fc0ce71a896..6c462d9d05d9f712c0f6911c4e297ff17b05aace 100644
--- a/third_party/WebKit/Source/core/events/FocusEvent.cpp
+++ b/third_party/WebKit/Source/core/events/FocusEvent.cpp
@@ -44,7 +44,7 @@ FocusEvent::FocusEvent()
{
}
-FocusEvent::FocusEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtrWillBeRawPtr<AbstractView> view, int detail, EventTarget* relatedTarget, InputDeviceCapabilities* sourceCapabilities)
+FocusEvent::FocusEvent(const AtomicString& type, bool canBubble, bool cancelable, RawPtr<AbstractView> view, int detail, EventTarget* relatedTarget, InputDeviceCapabilities* sourceCapabilities)
: UIEvent(type, canBubble, cancelable, view, detail, sourceCapabilities)
, m_relatedTarget(relatedTarget)
{
@@ -57,7 +57,7 @@ FocusEvent::FocusEvent(const AtomicString& type, const FocusEventInit& initializ
m_relatedTarget = initializer.relatedTarget();
}
-PassRefPtrWillBeRawPtr<EventDispatchMediator> FocusEvent::createMediator()
+RawPtr<EventDispatchMediator> FocusEvent::createMediator()
{
return FocusEventDispatchMediator::create(this);
}
@@ -68,12 +68,12 @@ DEFINE_TRACE(FocusEvent)
UIEvent::trace(visitor);
}
-PassRefPtrWillBeRawPtr<FocusEventDispatchMediator> FocusEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
+RawPtr<FocusEventDispatchMediator> FocusEventDispatchMediator::create(RawPtr<FocusEvent> focusEvent)
{
- return adoptRefWillBeNoop(new FocusEventDispatchMediator(focusEvent));
+ return (new FocusEventDispatchMediator(focusEvent));
}
-FocusEventDispatchMediator::FocusEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
+FocusEventDispatchMediator::FocusEventDispatchMediator(RawPtr<FocusEvent> focusEvent)
: EventDispatchMediator(focusEvent)
{
}

Powered by Google App Engine
This is Rietveld 408576698