Index: Source/modules/webaudio/AudioProcessingEvent.cpp |
diff --git a/Source/modules/webaudio/AudioProcessingEvent.cpp b/Source/modules/webaudio/AudioProcessingEvent.cpp |
index 2be54a646101d6e2cf7aa2881605ef518fd9d36f..f33704648068b3e4d5b726f259d4c4d5712abcb9 100644 |
--- a/Source/modules/webaudio/AudioProcessingEvent.cpp |
+++ b/Source/modules/webaudio/AudioProcessingEvent.cpp |
@@ -30,14 +30,14 @@ |
namespace WebCore { |
-PassRefPtr<AudioProcessingEvent> AudioProcessingEvent::create() |
+PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create() |
{ |
- return adoptRef(new AudioProcessingEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new AudioProcessingEvent); |
} |
-PassRefPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer) |
+PassRefPtrWillBeRawPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer) |
{ |
- return adoptRef(new AudioProcessingEvent(inputBuffer, outputBuffer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new AudioProcessingEvent(inputBuffer, outputBuffer)); |
} |
AudioProcessingEvent::AudioProcessingEvent() |