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

Unified Diff: Source/modules/webaudio/ScriptProcessorNode.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/modules/webaudio/ScriptProcessorNode.h
diff --git a/Source/modules/webaudio/ScriptProcessorNode.h b/Source/modules/webaudio/ScriptProcessorNode.h
index 192a28770228614d4b245f9b5264bcf350df8f35..65c56cc4417ca0c8f3a486b82a27debf255150c4 100644
--- a/Source/modules/webaudio/ScriptProcessorNode.h
+++ b/Source/modules/webaudio/ScriptProcessorNode.h
@@ -106,7 +106,7 @@ private:
unsigned m_numberOfInputChannels;
unsigned m_numberOfOutputChannels;
- AudioBus m_internalInputBus;
+ RefPtr<AudioBus> m_internalInputBus;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698