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

Unified Diff: Source/modules/webaudio/AudioBufferCallback.h

Issue 85263006: Make IDL Callbacks non-refcounted by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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/AsyncAudioDecoder.cpp ('k') | Source/modules/webaudio/AudioContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webaudio/AudioBufferCallback.h
diff --git a/Source/modules/webaudio/AudioBufferCallback.h b/Source/modules/webaudio/AudioBufferCallback.h
index 8a6c8c606f72750447a9a033d5c8560fcddcbe31..3ffaf2c0956df16024dffb78eca636e588df864d 100644
--- a/Source/modules/webaudio/AudioBufferCallback.h
+++ b/Source/modules/webaudio/AudioBufferCallback.h
@@ -27,13 +27,11 @@
#if ENABLE(WEB_AUDIO)
-#include "wtf/RefCounted.h"
-
namespace WebCore {
class AudioBuffer;
-class AudioBufferCallback : public RefCounted<AudioBufferCallback> {
+class AudioBufferCallback {
public:
virtual ~AudioBufferCallback() { }
virtual bool handleEvent(AudioBuffer*) = 0;
« no previous file with comments | « Source/modules/webaudio/AsyncAudioDecoder.cpp ('k') | Source/modules/webaudio/AudioContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698