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