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

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

Issue 333623002: Oilpan: Prepare to move EventDispatchMediator to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/events/FocusEvent.h ('k') | Source/core/events/GestureEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/FocusEvent.cpp
diff --git a/Source/core/events/FocusEvent.cpp b/Source/core/events/FocusEvent.cpp
index 318b38559964baf31b33859320744c643b416054..a541b3bb60e7f0a95140b67f51e057bf9332e63c 100644
--- a/Source/core/events/FocusEvent.cpp
+++ b/Source/core/events/FocusEvent.cpp
@@ -71,9 +71,9 @@ void FocusEvent::trace(Visitor* visitor)
UIEvent::trace(visitor);
}
-PassRefPtr<FocusEventDispatchMediator> FocusEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
+PassRefPtrWillBeRawPtr<FocusEventDispatchMediator> FocusEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
{
- return adoptRef(new FocusEventDispatchMediator(focusEvent));
+ return adoptRefWillBeNoop(new FocusEventDispatchMediator(focusEvent));
}
FocusEventDispatchMediator::FocusEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
@@ -87,9 +87,9 @@ bool FocusEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) cons
return EventDispatchMediator::dispatchEvent(dispatcher);
}
-PassRefPtr<BlurEventDispatchMediator> BlurEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
+PassRefPtrWillBeRawPtr<BlurEventDispatchMediator> BlurEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
{
- return adoptRef(new BlurEventDispatchMediator(focusEvent));
+ return adoptRefWillBeNoop(new BlurEventDispatchMediator(focusEvent));
}
BlurEventDispatchMediator::BlurEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
@@ -103,9 +103,9 @@ bool BlurEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) const
return EventDispatchMediator::dispatchEvent(dispatcher);
}
-PassRefPtr<FocusInEventDispatchMediator> FocusInEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
+PassRefPtrWillBeRawPtr<FocusInEventDispatchMediator> FocusInEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
{
- return adoptRef(new FocusInEventDispatchMediator(focusEvent));
+ return adoptRefWillBeNoop(new FocusInEventDispatchMediator(focusEvent));
}
FocusInEventDispatchMediator::FocusInEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
@@ -119,9 +119,9 @@ bool FocusInEventDispatchMediator::dispatchEvent(EventDispatcher* dispatcher) co
return EventDispatchMediator::dispatchEvent(dispatcher);
}
-PassRefPtr<FocusOutEventDispatchMediator> FocusOutEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
+PassRefPtrWillBeRawPtr<FocusOutEventDispatchMediator> FocusOutEventDispatchMediator::create(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
{
- return adoptRef(new FocusOutEventDispatchMediator(focusEvent));
+ return adoptRefWillBeNoop(new FocusOutEventDispatchMediator(focusEvent));
}
FocusOutEventDispatchMediator::FocusOutEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent> focusEvent)
« no previous file with comments | « Source/core/events/FocusEvent.h ('k') | Source/core/events/GestureEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698