| Index: Source/bindings/core/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8CanvasRenderingContext2DCustom.cpp b/Source/bindings/core/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| index 3562750f6969093e5745bf3edf24a3a9ed85c6e0..add527ae9d9096bfeb27467b80024f86f4fd7374 100644
|
| --- a/Source/bindings/core/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| @@ -78,7 +78,7 @@ void V8CanvasRenderingContext2D::strokeStyleAttributeSetterCustom(v8::Local<v8::
|
| impl->setStrokeStyle(canvasStyle);
|
| } else {
|
| TOSTRING_VOID(V8StringResource<>, colorString, value);
|
| - impl->setStrokeColor(colorString);
|
| + impl->setStrokeStyle(CanvasStyle::createFromString(colorString));
|
| }
|
| }
|
|
|
| @@ -95,7 +95,7 @@ void V8CanvasRenderingContext2D::fillStyleAttributeSetterCustom(v8::Local<v8::Va
|
| impl->setFillStyle(canvasStyle);
|
| } else {
|
| TOSTRING_VOID(V8StringResource<>, colorString, value);
|
| - impl->setFillColor(colorString);
|
| + impl->setFillStyle(CanvasStyle::createFromString(colorString));
|
| }
|
| }
|
|
|
|
|