Index: third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp |
index b66b24e1e7c31e800f4afb77ca24242527176cf4..297bb6d2d054e5b21dc5fa17170a29144c841bde 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp |
@@ -37,7 +37,7 @@ namespace blink { |
// WebAudioCapturerSource ignores the channel count beyond 8, so we set the |
// block here to avoid anything can cause the crash. |
-static unsigned long kMaxChannelCount = 8; |
+static const unsigned long kMaxChannelCount = 8; |
MediaStreamAudioDestinationHandler::MediaStreamAudioDestinationHandler(AudioNode& node, size_t numberOfChannels) |
: AudioBasicInspectorHandler(NodeTypeMediaStreamAudioDestination, node, node.context()->sampleRate(), numberOfChannels) |