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

Unified Diff: Source/modules/webaudio/AudioProcessingEvent.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/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()

Powered by Google App Engine
This is Rietveld 408576698