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

Unified Diff: Source/bindings/tests/results/V8TestException.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/V8TestException.h
diff --git a/Source/bindings/tests/results/V8TestException.h b/Source/bindings/tests/results/V8TestException.h
index 49e67cfb5e8552c16f4a9d94d2a0a59b6ae2d9da..07f080e4a38f39113f31acc7924d5b5f4cfb2c30 100644
--- a/Source/bindings/tests/results/V8TestException.h
+++ b/Source/bindings/tests/results/V8TestException.h
@@ -21,24 +21,24 @@ 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 TestException* toNative(v8::Handle<v8::Object> object)
+ static TestException* toImpl(v8::Handle<v8::Object> object)
{
- return fromInternalPointer(blink::toInternalPointer(object));
+ return toImpl(blink::toScriptWrappableBase(object));
}
- static TestException* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
+ static TestException* 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 const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
- static inline ScriptWrappableBase* toInternalPointer(TestException* impl)
+ static inline ScriptWrappableBase* toScriptWrappableBase(TestException* impl)
{
- return impl->toInternalPointer();
+ return impl->toScriptWrappableBase();
}
- static inline TestException* fromInternalPointer(ScriptWrappableBase* internalPointer)
+ static inline TestException* toImpl(ScriptWrappableBase* internalPointer)
{
- return ScriptWrappableBase::fromInternalPointer<TestException>(internalPointer);
+ return internalPointer->toImpl<TestException>();
}
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/V8TestDictionary.cpp ('k') | Source/bindings/tests/results/V8TestException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698