Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/IIRFilterNode.h |
| diff --git a/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.h b/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.h |
| index 0ec8f7ec34987da8aaab6e01ae342fb166fa9fd7..e16b8db569cddc57aa12c0823f443ddf2815a37d 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.h |
| +++ b/third_party/WebKit/Source/modules/webaudio/IIRFilterNode.h |
| @@ -20,8 +20,8 @@ class IIRFilterNode : public AudioNode { |
| public: |
| static IIRFilterNode* Create(BaseAudioContext&, |
| - const Vector<double> feedforward, |
| - const Vector<double> feedback, |
| + const Vector<double>& feedforward, |
| + const Vector<double>& feedback, |
| ExceptionState&); |
| static IIRFilterNode* Create(BaseAudioContext*, |
| @@ -39,8 +39,8 @@ class IIRFilterNode : public AudioNode { |
| private: |
| IIRFilterNode(BaseAudioContext&, |
| - const Vector<double> denominator, |
| - const Vector<double> numerator); |
| + const Vector<double>& denominator, |
| + const Vector<double>& numerator); |
|
hongchan
2017/04/10 19:47:31
The who holds the actual copy of this vector?
Raymond Toy
2017/04/10 19:54:49
v8 calls IIRFilterNode::Create with the actual coe
hongchan
2017/04/10 21:05:11
Acknowledged.
|
| IIRProcessor* IirProcessor() const; |
| }; |