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

Unified Diff: Source/core/platform/audio/AudioPullFIFO.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/AudioFIFO.cpp ('k') | Source/core/platform/audio/AudioPullFIFO.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/AudioPullFIFO.h
diff --git a/Source/core/platform/audio/AudioPullFIFO.h b/Source/core/platform/audio/AudioPullFIFO.h
index c507cea6933c7f40f037fd4f1538288f21e8bfb3..86795a180439b60086d067892c7635dc7a6934bf 100644
--- a/Source/core/platform/audio/AudioPullFIFO.h
+++ b/Source/core/platform/audio/AudioPullFIFO.h
@@ -66,7 +66,7 @@ private:
unsigned int m_providerSize;
// Temporary workspace to hold the data from the provider.
- AudioBus m_tempBus;
+ RefPtr<AudioBus> m_tempBus;
};
} // namespace WebCore
« no previous file with comments | « Source/core/platform/audio/AudioFIFO.cpp ('k') | Source/core/platform/audio/AudioPullFIFO.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698