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

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: Created 7 years, 8 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/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

Powered by Google App Engine
This is Rietveld 408576698