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

Unified Diff: Source/bindings/tests/results/V8TestInterfaceConstructor4.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/V8TestInterfaceConstructor4.h
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor4.h b/Source/bindings/tests/results/V8TestInterfaceConstructor4.h
index 080d26137974e5d7bfaa8bf709a40ba507f0a182..aa74914aa9563bb6c7c4878181c562fc931d21c5 100644
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor4.h
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor4.h
@@ -21,25 +21,25 @@ 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 TestInterfaceConstructor4* toNative(v8::Handle<v8::Object> object)
+ static TestInterfaceConstructor4* toImpl(v8::Handle<v8::Object> object)
{
- return fromInternalPointer(blink::toInternalPointer(object));
+ return toImpl(blink::toScriptWrappableBase(object));
}
- static TestInterfaceConstructor4* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
+ static TestInterfaceConstructor4* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
static const WrapperTypeInfo wrapperTypeInfo;
static void refObject(ScriptWrappableBase* internalPointer);
static void derefObject(ScriptWrappableBase* internalPointer);
static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer);
static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
- static inline ScriptWrappableBase* toInternalPointer(TestInterfaceConstructor4* impl)
+ static inline ScriptWrappableBase* toScriptWrappableBase(TestInterfaceConstructor4* impl)
{
- return impl->toInternalPointer();
+ return impl->toScriptWrappableBase();
}
- static inline TestInterfaceConstructor4* fromInternalPointer(ScriptWrappableBase* internalPointer)
+ static inline TestInterfaceConstructor4* toImpl(ScriptWrappableBase* internalPointer)
{
- return ScriptWrappableBase::fromInternalPointer<TestInterfaceConstructor4>(internalPointer);
+ return internalPointer->toImpl<TestInterfaceConstructor4>();
}
static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8::Isolate*) { }
static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }

Powered by Google App Engine
This is Rietveld 408576698