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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp

Issue 2276973002: Revert CL 2242573002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
index e1ec4ad8ff1e0698a9ae6870c7cbe345f56040cf..14147c7a68ed5097ff356a4b4948f3dcbf925583 100644
--- a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
@@ -36,8 +36,8 @@ DefaultAudioDestinationHandler::DefaultAudioDestinationHandler(AudioNode& node)
{
// Node-specific default mixing rules.
m_channelCount = 2;
- setInternalChannelCountMode(Explicit);
- setInternalChannelInterpretation(AudioBus::Speakers);
+ m_channelCountMode = Explicit;
+ m_channelInterpretation = AudioBus::Speakers;
}
PassRefPtr<DefaultAudioDestinationHandler> DefaultAudioDestinationHandler::create(AudioNode& node)

Powered by Google App Engine
This is Rietveld 408576698