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

Unified Diff: third_party/WebKit/Source/platform/audio/AudioDestinationConsumer.h

Issue 2762413004: Revert of Revert "Pull AudioDestinationConsumer off the Blink GC heap." (Closed)
Patch Set: Created 3 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 | « no previous file | third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/audio/AudioDestinationConsumer.h
diff --git a/third_party/WebKit/Source/platform/audio/AudioDestinationConsumer.h b/third_party/WebKit/Source/platform/audio/AudioDestinationConsumer.h
index 99c2b5fe823d574c3122adac9d607d4033567375..849fef2d9cc9fbe79a0ae6f52bcf15520b9e1887 100644
--- a/third_party/WebKit/Source/platform/audio/AudioDestinationConsumer.h
+++ b/third_party/WebKit/Source/platform/audio/AudioDestinationConsumer.h
@@ -31,20 +31,17 @@
#ifndef AudioDestinationConsumer_h
#define AudioDestinationConsumer_h
+#include <memory>
#include "platform/PlatformExport.h"
-#include "platform/heap/Handle.h"
namespace blink {
class AudioBus;
-class PLATFORM_EXPORT AudioDestinationConsumer
- : public GarbageCollected<AudioDestinationConsumer> {
+class PLATFORM_EXPORT AudioDestinationConsumer {
public:
virtual void setFormat(size_t numberOfChannels, float sampleRate) = 0;
virtual void consumeAudio(AudioBus*, size_t numberOfFrames) = 0;
-
- DEFINE_INLINE_VIRTUAL_TRACE() {}
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/exported/WebMediaStreamSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698