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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/events/FocusEvent.cpp b/third_party/WebKit/Source/core/events/FocusEvent.cpp
index f9dc537b8168e6289a46bdc8a8cf8223a70bc7d9..93d2a5f4b42f93fd66477cc5a1953cda2f2d8eed 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, relatedTarget, 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)
{
}
« no previous file with comments | « third_party/WebKit/Source/core/events/FocusEvent.h ('k') | third_party/WebKit/Source/core/events/GenericEventQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698