Index: Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp |
index 2c75a5db6ac22647d50f1dbecd8861f438192c9f..0745614176416aa8d70e4a5a107ad8ef1d916cf0 100644 |
--- a/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp |
@@ -51,7 +51,7 @@ void V8HTMLCanvasElement::getContextMethodCustom(const v8::FunctionCallbackInfo< |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
v8::Isolate* isolate = info.GetIsolate(); |
- HTMLCanvasElement* impl = V8HTMLCanvasElement::toNative(holder); |
+ HTMLCanvasElement* impl = V8HTMLCanvasElement::toImpl(holder); |
TOSTRING_VOID(V8StringResource<>, contextIdResource, info[0]); |
String contextId = contextIdResource; |
RefPtrWillBeRawPtr<CanvasContextAttributes> attributes = nullptr; |
@@ -132,7 +132,7 @@ void V8HTMLCanvasElement::getContextMethodCustom(const v8::FunctionCallbackInfo< |
void V8HTMLCanvasElement::toDataURLMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
- HTMLCanvasElement* canvas = V8HTMLCanvasElement::toNative(holder); |
+ HTMLCanvasElement* canvas = V8HTMLCanvasElement::toImpl(holder); |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "toDataURL", "HTMLCanvasElement", info.Holder(), info.GetIsolate()); |
TOSTRING_VOID(V8StringResource<>, type, info[0]); |