Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: Source/bindings/core/v8/custom/V8HTMLCanvasElementCustom.cpp

Issue 537403002: bindings: Renames from/toInternalPointer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]);
« no previous file with comments | « Source/bindings/core/v8/custom/V8HTMLAllCollectionCustom.cpp ('k') | Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698