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

Unified Diff: Source/core/platform/audio/chromium/AudioDestinationChromium.h

Issue 14628008: Require use of AudioBus::create() to avoid ref-counting issues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Require use of Created 7 years, 7 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/core/platform/audio/chromium/AudioDestinationChromium.h
diff --git a/Source/core/platform/audio/chromium/AudioDestinationChromium.h b/Source/core/platform/audio/chromium/AudioDestinationChromium.h
index f85797f70a0bf15e7897f1ff6732bbb05f9f3f82..16112b1d16383d23b5f5240f447a8055752a68f2 100644
--- a/Source/core/platform/audio/chromium/AudioDestinationChromium.h
+++ b/Source/core/platform/audio/chromium/AudioDestinationChromium.h
@@ -63,8 +63,8 @@ public:
private:
AudioIOCallback& m_callback;
unsigned m_numberOfOutputChannels;
- AudioBus m_inputBus;
- AudioBus m_renderBus;
+ RefPtr<AudioBus> m_inputBus;
+ RefPtr<AudioBus> m_renderBus;
float m_sampleRate;
bool m_isPlaying;
OwnPtr<WebKit::WebAudioDevice> m_audioDevice;
« no previous file with comments | « Source/core/platform/audio/SincResampler.cpp ('k') | Source/core/platform/audio/chromium/AudioDestinationChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698