| Index: Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp b/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| index 3e13d83e57e25d0bf7089e28e198c930bc6addb2..3ceda56208baf8c3a527c78b9dff921efacb8a60 100644
|
| --- a/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp
|
| @@ -59,10 +59,10 @@ static v8::Handle<v8::Value> toV8Object(CanvasStyle* style, v8::Handle<v8::Objec
|
|
|
| static PassRefPtr<CanvasStyle> toCanvasStyle(v8::Handle<v8::Value> value, v8::Isolate* isolate)
|
| {
|
| - if (V8CanvasGradient::hasInstance(value, isolate, worldType(isolate)))
|
| + if (V8CanvasGradient::hasInstance(value, isolate))
|
| return CanvasStyle::createFromGradient(V8CanvasGradient::toNative(v8::Handle<v8::Object>::Cast(value)));
|
|
|
| - if (V8CanvasPattern::hasInstance(value, isolate, worldType(isolate)))
|
| + if (V8CanvasPattern::hasInstance(value, isolate))
|
| return CanvasStyle::createFromPattern(V8CanvasPattern::toNative(v8::Handle<v8::Object>::Cast(value)));
|
|
|
| return 0;
|
|
|