Index: Source/modules/webaudio/OfflineAudioCompletionEvent.cpp |
diff --git a/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp b/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp |
index b48d6e9dda04f05864993e292e0feca9db22c439..1535cb6d87c83395d1e34c3832f49be95b0fe499 100644 |
--- a/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp |
+++ b/Source/modules/webaudio/OfflineAudioCompletionEvent.cpp |
@@ -30,14 +30,14 @@ |
namespace WebCore { |
-PassRefPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create() |
+PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create() |
{ |
- return adoptRef(new OfflineAudioCompletionEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new OfflineAudioCompletionEvent); |
} |
-PassRefPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(PassRefPtr<AudioBuffer> renderedBuffer) |
+PassRefPtrWillBeRawPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(PassRefPtr<AudioBuffer> renderedBuffer) |
{ |
- return adoptRef(new OfflineAudioCompletionEvent(renderedBuffer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new OfflineAudioCompletionEvent(renderedBuffer)); |
} |
OfflineAudioCompletionEvent::OfflineAudioCompletionEvent() |