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

Unified Diff: Source/modules/webaudio/OfflineAudioCompletionEvent.cpp

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/modules/webaudio/OfflineAudioCompletionEvent.h ('k') | Source/modules/webmidi/MIDIConnectionEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « Source/modules/webaudio/OfflineAudioCompletionEvent.h ('k') | Source/modules/webmidi/MIDIConnectionEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698