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

Unified Diff: Source/bindings/core/v8/NPV8Object.cpp

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/NPV8Object.h ('k') | Source/bindings/core/v8/ScriptDebugServer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/NPV8Object.cpp
diff --git a/Source/bindings/core/v8/NPV8Object.cpp b/Source/bindings/core/v8/NPV8Object.cpp
index a452589995d63c70c597b7e3aa9013e7919e912a..3bc172b11eac7ee134b429745e6814653e10e829 100644
--- a/Source/bindings/core/v8/NPV8Object.cpp
+++ b/Source/bindings/core/v8/NPV8Object.cpp
@@ -122,7 +122,7 @@ static v8::Local<v8::String> npIdentifierToV8Identifier(NPIdentifier name, v8::I
NPObject* v8ObjectToNPObject(v8::Handle<v8::Object> object)
{
- return reinterpret_cast<NPObject*>(toInternalPointer(object));
+ return reinterpret_cast<NPObject*>(toScriptWrappableBase(object));
}
bool isWrappedNPObject(v8::Handle<v8::Object> object)
@@ -187,7 +187,7 @@ V8NPObject* npObjectToV8NPObject(NPObject* npObject)
return v8NpObject;
}
-ScriptWrappableBase* npObjectToInternalPointer(NPObject* npObject)
+ScriptWrappableBase* npObjectToScriptWrappableBase(NPObject* npObject)
{
return reinterpret_cast<ScriptWrappableBase*>(npObject);
}
« no previous file with comments | « Source/bindings/core/v8/NPV8Object.h ('k') | Source/bindings/core/v8/ScriptDebugServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698