Index: third_party/WebKit/Source/modules/webaudio/PannerNode.cpp |
diff --git a/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp b/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp |
index fb400a2a0b5b1d14a38e99bfa6c12f4997ceb598..10aab165b4ab047cb83bcdcc446c2e98fd4999be 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp |
+++ b/third_party/WebKit/Source/modules/webaudio/PannerNode.cpp |
@@ -748,7 +748,7 @@ double PannerNode::refDistance() const { |
void PannerNode::setRefDistance(double distance, |
ExceptionState& exception_state) { |
- if (distance <= 0) { |
+ if (distance < 0) { |
exception_state.ThrowDOMException( |
kV8RangeError, ExceptionMessages::IndexExceedsMinimumBound<double>( |
"refDistance", distance, 0)); |