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

Unified Diff: Source/modules/webaudio/OfflineAudioCompletionEvent.cpp

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/modules/webaudio/OfflineAudioCompletionEvent.cpp
diff --git a/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp b/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp
index c02b1a3aa590727e2be901aa5098cc651eac16b3..19097a288af11eacab281cc9465a4d1144629b59 100644
--- a/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp
+++ b/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp
@@ -32,14 +32,14 @@
namespace WebCore {
-PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create()
+PassRefPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new OfflineAudioCompletionEvent);
+ return adoptRef(new OfflineAudioCompletionEvent);
}
-PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(PassRefPtr<AudioBuffer> renderedBuffer)
+PassRefPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(PassRefPtr<AudioBuffer> renderedBuffer)
{
- return adoptRefWillBeRefCountedGarbageCollected(new OfflineAudioCompletionEvent(renderedBuffer));
+ return adoptRef(new OfflineAudioCompletionEvent(renderedBuffer));
}
OfflineAudioCompletionEvent::OfflineAudioCompletionEvent()

Powered by Google App Engine
This is Rietveld 408576698