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

Unified Diff: Source/core/events/BeforeTextInsertedEvent.h

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/core/events/AutocompleteErrorEvent.h ('k') | Source/core/events/BeforeUnloadEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/BeforeTextInsertedEvent.h
diff --git a/Source/core/events/BeforeTextInsertedEvent.h b/Source/core/events/BeforeTextInsertedEvent.h
index fe0f3f7c27c867b48da8abc2fd8d5bf50688fba8..aff56a45e4e75131349249555bac06aad7ad01a4 100644
--- a/Source/core/events/BeforeTextInsertedEvent.h
+++ b/Source/core/events/BeforeTextInsertedEvent.h
@@ -34,9 +34,9 @@ class BeforeTextInsertedEvent FINAL : public Event {
public:
virtual ~BeforeTextInsertedEvent();
- static PassRefPtr<BeforeTextInsertedEvent> create(const String& text)
+ static PassRefPtrWillBeRawPtr<BeforeTextInsertedEvent> create(const String& text)
{
- return adoptRef(new BeforeTextInsertedEvent(text));
+ return adoptRefWillBeRefCountedGarbageCollected(new BeforeTextInsertedEvent(text));
}
virtual const AtomicString& interfaceName() const OVERRIDE;
« no previous file with comments | « Source/core/events/AutocompleteErrorEvent.h ('k') | Source/core/events/BeforeUnloadEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698