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() |