| Index: third_party/WebKit/Source/modules/webaudio/GainNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/GainNode.cpp b/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
|
| index 0cbd8841bf5f35c4da17f2094975f25e16b6d0a8..c8722ca250877669d80943b9f1e6b75506c15c1e 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/GainNode.cpp
|
| @@ -169,8 +169,7 @@ GainNode* GainNode::Create(BaseAudioContext* context,
|
|
|
| node->HandleChannelOptions(options, exception_state);
|
|
|
| - if (options.hasGain())
|
| - node->gain()->setValue(options.gain());
|
| + node->gain()->setValue(options.gain());
|
|
|
| return node;
|
| }
|
|
|