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

Unified Diff: Source/core/events/AutocompleteErrorEvent.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/dom/Document.cpp ('k') | Source/core/events/BeforeTextInsertedEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/AutocompleteErrorEvent.h
diff --git a/Source/core/events/AutocompleteErrorEvent.h b/Source/core/events/AutocompleteErrorEvent.h
index 26e4456638679b3fe0f2e6f345dc80001a905583..261b2c4dc18bf669bcfdcd73e051ddf081f4eb21 100644
--- a/Source/core/events/AutocompleteErrorEvent.h
+++ b/Source/core/events/AutocompleteErrorEvent.h
@@ -35,19 +35,19 @@ struct AutocompleteErrorEventInit : public EventInit {
class AutocompleteErrorEvent FINAL : public Event {
public:
- static PassRefPtr<AutocompleteErrorEvent> create()
+ static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create()
{
- return adoptRef(new AutocompleteErrorEvent);
+ return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent);
}
- static PassRefPtr<AutocompleteErrorEvent> create(const String& reason)
+ static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create(const String& reason)
{
- return adoptRef(new AutocompleteErrorEvent(reason));
+ return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent(reason));
}
- static PassRefPtr<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer)
+ static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer)
{
- return adoptRef(new AutocompleteErrorEvent(eventType, initializer));
+ return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent(eventType, initializer));
}
const String& reason() const { return m_reason; }
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/events/BeforeTextInsertedEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698