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

Unified Diff: Source/core/platform/audio/AudioFIFO.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
« no previous file with comments | « Source/core/platform/audio/AudioBus.cpp ('k') | Source/core/platform/audio/AudioFIFO.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/AudioFIFO.h
diff --git a/Source/core/platform/audio/AudioFIFO.h b/Source/core/platform/audio/AudioFIFO.h
index a5c1dca4781e637952560af26332414cbe0b86d2..a744d10eb62a109b0a044ed9f4a61a3e3113af4b 100644
--- a/Source/core/platform/audio/AudioFIFO.h
+++ b/Source/core/platform/audio/AudioFIFO.h
@@ -55,7 +55,7 @@ private:
void findWrapLengths(size_t index, size_t providerSize, size_t& part1Length, size_t& part2Length);
// The FIFO itself. In reality, the FIFO is a circular buffer.
- AudioBus m_fifoAudioBus;
+ RefPtr<AudioBus> m_fifoAudioBus;
// The total available space in the FIFO.
size_t m_fifoLength;
« no previous file with comments | « Source/core/platform/audio/AudioBus.cpp ('k') | Source/core/platform/audio/AudioFIFO.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698