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

Unified Diff: Source/bindings/core/v8/custom/V8ArrayBufferCustom.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
« no previous file with comments | « Source/bindings/core/v8/WrapperTypeInfo.h ('k') | Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
diff --git a/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h b/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
index fbbe39d490a3691aaac02d4b83c1857abdb524f1..03702112a067c44f961b44b577860c5f1af4982e 100644
--- a/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
+++ b/Source/bindings/core/v8/custom/V8ArrayBufferCustom.h
@@ -52,20 +52,20 @@ protected:
class V8ArrayBuffer {
public:
static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
- static ArrayBuffer* toNative(v8::Handle<v8::Object>);
- static ArrayBuffer* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
+ static ArrayBuffer* toImpl(v8::Handle<v8::Object>);
+ static ArrayBuffer* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static void refObject(ScriptWrappableBase* internalPointer);
static void derefObject(ScriptWrappableBase* internalPointer);
static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer);
static const WrapperTypeInfo wrapperTypeInfo;
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount;
- static inline ScriptWrappableBase* toInternalPointer(ArrayBuffer* impl)
+ static inline ScriptWrappableBase* toScriptWrappableBase(ArrayBuffer* impl)
{
return reinterpret_cast<ScriptWrappableBase*>(impl);
}
- static inline ArrayBuffer* fromInternalPointer(ScriptWrappableBase* internalPointer)
+ static inline ArrayBuffer* toImpl(ScriptWrappableBase* internalPointer)
{
return reinterpret_cast<ArrayBuffer*>(internalPointer);
}
« no previous file with comments | « Source/bindings/core/v8/WrapperTypeInfo.h ('k') | Source/bindings/core/v8/custom/V8ArrayBufferCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698