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

Unified Diff: Source/bindings/dart/DartNativeUtilities.cpp

Issue 23895004: Keep a persistent handle for the bindings classes to avoid repeated lookups that involve performing… (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: . Created 7 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/dart/DartDOMWrapper.cpp ('k') | Source/bindings/dart/DartUtilities.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/DartNativeUtilities.cpp
diff --git a/Source/bindings/dart/DartNativeUtilities.cpp b/Source/bindings/dart/DartNativeUtilities.cpp
index feec90f5e6cf801cc7a28ee36916a1e9cd9e6865..5cd55b9a617a72f1db0bec0ccbc44546d0791047 100644
--- a/Source/bindings/dart/DartNativeUtilities.cpp
+++ b/Source/bindings/dart/DartNativeUtilities.cpp
@@ -140,7 +140,7 @@ static void npObjectRetrieve(Dart_NativeArguments args)
NPObject* npObject = controller->npObject(key);
if (npObject) {
// FIXME: put NPObjects into a map as well.
- Dart_SetReturnValue(args, DartDOMWrapper::newWrapper("_NPObject", DartUtilities::htmlLibraryName, npObject));
+ Dart_SetReturnValue(args, DartDOMWrapper::newWrapper("_NPObject", DartUtilities::htmlLibraryName, _NPObjectClassId, npObject));
}
return;
}
« no previous file with comments | « Source/bindings/dart/DartDOMWrapper.cpp ('k') | Source/bindings/dart/DartUtilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698