| Index: Source/core/html/canvas/CanvasGradient.cpp
|
| diff --git a/Source/core/html/canvas/CanvasGradient.cpp b/Source/core/html/canvas/CanvasGradient.cpp
|
| index a54df397a0f6b63895d5eba62aceb57167ad4291..07e62a07e10b9a2e4e0c4719a61101fece2880b1 100644
|
| --- a/Source/core/html/canvas/CanvasGradient.cpp
|
| +++ b/Source/core/html/canvas/CanvasGradient.cpp
|
| @@ -46,16 +46,16 @@ CanvasGradient::CanvasGradient(const FloatPoint& p0, float r0, const FloatPoint&
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -void CanvasGradient::addColorStop(float value, const String& color, ExceptionState& es)
|
| +void CanvasGradient::addColorStop(float value, const String& color, ExceptionState& exceptionState)
|
| {
|
| if (!(value >= 0 && value <= 1.0f)) {
|
| - es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return;
|
| }
|
|
|
| RGBA32 rgba = 0;
|
| if (!parseColorOrCurrentColor(rgba, color, 0 /*canvas*/)) {
|
| - es.throwUninformativeAndGenericDOMException(SyntaxError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(SyntaxError);
|
| return;
|
| }
|
|
|
|
|