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

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

Issue 185393006: Revert "Add [WillBeGarbageCollected] to Event.idl" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/core/events/AutocompleteErrorEvent.h
diff --git a/Source/core/events/AutocompleteErrorEvent.h b/Source/core/events/AutocompleteErrorEvent.h
index f7e60087b8172db2e536be4fdc72e331e39295d1..c8458021393d59ebfd9fdf9bbb2f5ddad57b3e02 100644
--- a/Source/core/events/AutocompleteErrorEvent.h
+++ b/Source/core/events/AutocompleteErrorEvent.h
@@ -36,19 +36,19 @@ struct AutocompleteErrorEventInit : public EventInit {
class AutocompleteErrorEvent FINAL : public Event {
public:
- static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create()
+ static PassRefPtr<AutocompleteErrorEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent);
+ return adoptRef(new AutocompleteErrorEvent);
}
- static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create(const String& reason)
+ static PassRefPtr<AutocompleteErrorEvent> create(const String& reason)
{
- return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent(reason));
+ return adoptRef(new AutocompleteErrorEvent(reason));
}
- static PassRefPtrWillBeRawPtr<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer)
+ static PassRefPtr<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new AutocompleteErrorEvent(eventType, initializer));
+ return adoptRef(new AutocompleteErrorEvent(eventType, initializer));
}
const String& reason() const { return m_reason; }

Powered by Google App Engine
This is Rietveld 408576698