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

Unified Diff: Source/bindings/core/v8/custom/V8ArrayBufferViewCustom.h

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/V8ArrayBufferViewCustom.h
diff --git a/Source/bindings/core/v8/custom/V8ArrayBufferViewCustom.h b/Source/bindings/core/v8/custom/V8ArrayBufferViewCustom.h
index 7e3c12e173c8de2d9848270342ebd5d62080842c..380aeb98f6ed6491fa728cfcb476a818f88e28d9 100644
--- a/Source/bindings/core/v8/custom/V8ArrayBufferViewCustom.h
+++ b/Source/bindings/core/v8/custom/V8ArrayBufferViewCustom.h
@@ -47,12 +47,12 @@ public:
{
return value->IsArrayBufferView();
}
- static ArrayBufferView* toNative(v8::Handle<v8::Object>);
- static ArrayBufferView* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
+ static ArrayBufferView* toImpl(v8::Handle<v8::Object>);
+ static ArrayBufferView* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
- static inline void* toInternalPointer(ArrayBufferView* impl)
+ static inline ScriptWrappableBase* toScriptWrappableBase(ArrayBufferView* impl)
{
- return impl;
+ return reinterpret_cast<ScriptWrappableBase*>(impl);
}
};
« no previous file with comments | « Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp ('k') | Source/bindings/core/v8/custom/V8ArrayBufferViewCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698