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

Unified Diff: Source/core/html/MediaKeyEvent.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/html/MediaKeyEvent.h
diff --git a/Source/core/html/MediaKeyEvent.h b/Source/core/html/MediaKeyEvent.h
index 4e5ce4c58ac31c3eba158de97635e6d3fe9a1bbb..fb7112743a813613525fb369eeda0a2f71855faa 100644
--- a/Source/core/html/MediaKeyEvent.h
+++ b/Source/core/html/MediaKeyEvent.h
@@ -47,14 +47,14 @@ class MediaKeyEvent FINAL : public Event {
public:
virtual ~MediaKeyEvent();
- static PassRefPtrWillBeRawPtr<MediaKeyEvent> create()
+ static PassRefPtr<MediaKeyEvent> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new MediaKeyEvent);
+ return adoptRef(new MediaKeyEvent);
}
- static PassRefPtrWillBeRawPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
+ static PassRefPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new MediaKeyEvent(type, initializer));
+ return adoptRef(new MediaKeyEvent(type, initializer));
}
virtual const AtomicString& interfaceName() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698