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

Unified Diff: Source/bindings/tests/results/V8TestInterface3.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/tests/results/V8TestInterface3.h
diff --git a/Source/bindings/tests/results/V8TestInterface3.h b/Source/bindings/tests/results/V8TestInterface3.h
index 29aed695112aef778684b55922eb11dc7fc8f002..29194095c6486579e580a0835c3b495149d6e85e 100644
--- a/Source/bindings/tests/results/V8TestInterface3.h
+++ b/Source/bindings/tests/results/V8TestInterface3.h
@@ -21,11 +21,11 @@ public:
static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*);
static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
- static TestInterface3* toNative(v8::Handle<v8::Object> object)
+ static TestInterface3* toImpl(v8::Handle<v8::Object> object)
{
- return fromInternalPointer(blink::toInternalPointer(object));
+ return toImpl(blink::toScriptWrappableBase(object));
}
- static TestInterface3* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
+ static TestInterface3* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static const WrapperTypeInfo wrapperTypeInfo;
static void refObject(ScriptWrappableBase* internalPointer);
static void derefObject(ScriptWrappableBase* internalPointer);
@@ -40,14 +40,14 @@ public:
static void namedPropertyDeleterCustom(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Boolean>&);
static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8::Array>&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
- static inline ScriptWrappableBase* toInternalPointer(TestInterface3* impl)
+ static inline ScriptWrappableBase* toScriptWrappableBase(TestInterface3* impl)
{
- return impl->toInternalPointer();
+ return impl->toScriptWrappableBase();
}
- static inline TestInterface3* fromInternalPointer(ScriptWrappableBase* internalPointer)
+ static inline TestInterface3* toImpl(ScriptWrappableBase* internalPointer)
{
- return ScriptWrappableBase::fromInternalPointer<TestInterface3>(internalPointer);
+ return internalPointer->toImpl<TestInterface3>();
}
static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface2.cpp ('k') | Source/bindings/tests/results/V8TestInterface3.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698