Index: Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp b/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp |
index ea02ec71311326ba4880846876799f6b6991b73d..3e13d83e57e25d0bf7089e28e198c930bc6addb2 100644 |
--- a/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp |
+++ b/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp |
@@ -78,7 +78,7 @@ void V8CanvasRenderingContext2D::strokeStyleAttributeSetterCustom(v8::Local<v8:: |
{ |
CanvasRenderingContext2D* impl = V8CanvasRenderingContext2D::toNative(info.Holder()); |
if (value->IsString()) |
- impl->setStrokeColor(toWebCoreString(value.As<v8::String>())); |
+ impl->setStrokeColor(toCoreString(value.As<v8::String>())); |
else |
impl->setStrokeStyle(toCanvasStyle(value, info.GetIsolate())); |
} |
@@ -93,7 +93,7 @@ void V8CanvasRenderingContext2D::fillStyleAttributeSetterCustom(v8::Local<v8::Va |
{ |
CanvasRenderingContext2D* impl = V8CanvasRenderingContext2D::toNative(info.Holder()); |
if (value->IsString()) |
- impl->setFillColor(toWebCoreString(value.As<v8::String>())); |
+ impl->setFillColor(toCoreString(value.As<v8::String>())); |
else |
impl->setFillStyle(toCanvasStyle(value, info.GetIsolate())); |
} |