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

Unified Diff: Source/core/events/CompositionEvent.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/CompositionEvent.h
diff --git a/Source/core/events/CompositionEvent.h b/Source/core/events/CompositionEvent.h
index 8da1b329b7907dbe91dccfacffca79616a96e9a4..96e5ac349eec635715f904e497b7b5d0ad09c5fa 100644
--- a/Source/core/events/CompositionEvent.h
+++ b/Source/core/events/CompositionEvent.h
@@ -40,19 +40,19 @@ struct CompositionEventInit : UIEventInit {
class CompositionEvent FINAL : public UIEvent {
public:
- static PassRefPtrWillBeRawPtr<CompositionEvent> create()
+ static PassRefPtr<CompositionEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new CompositionEvent);
+ return adoptRef(new CompositionEvent);
}
- static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data, const Vector<CompositionUnderline>& underlines)
+ static PassRefPtr<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data, const Vector<CompositionUnderline>& underlines)
{
- return adoptRefWillBeRefCountedGarbageCollected(new CompositionEvent(type, view, data, underlines));
+ return adoptRef(new CompositionEvent(type, view, data, underlines));
}
- static PassRefPtrWillBeRawPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
+ static PassRefPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new CompositionEvent(type, initializer));
+ return adoptRef(new CompositionEvent(type, initializer));
}
virtual ~CompositionEvent();

Powered by Google App Engine
This is Rietveld 408576698