| Index: third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp
|
| diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp
|
| index 2caa7508270d95560a92d67e4a22f439a26cf26a..c3cdfc341e104ca8259232b985794111d00beca6 100644
|
| --- a/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp
|
| +++ b/third_party/WebKit/Source/modules/canvas2d/CanvasGradient.cpp
|
| @@ -46,9 +46,10 @@ void CanvasGradient::addColorStop(float value,
|
| const String& colorString,
|
| ExceptionState& exceptionState) {
|
| if (!(value >= 0 && value <= 1.0f)) {
|
| - exceptionState.throwDOMException(
|
| - IndexSizeError, "The provided value (" + String::number(value) +
|
| - ") is outside the range (0.0, 1.0).");
|
| + exceptionState.throwDOMException(IndexSizeError,
|
| + "The provided value (" +
|
| + String::number(value) +
|
| + ") is outside the range (0.0, 1.0).");
|
| return;
|
| }
|
|
|
|
|