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

Unified Diff: gin/modules/module_registry.cc

Issue 74783006: Remove deprecated v8::External::New calls (chromium side) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « chrome/renderer/extensions/object_backed_native_handler.cc ('k') | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/modules/module_registry.cc
diff --git a/gin/modules/module_registry.cc b/gin/modules/module_registry.cc
index 78a102c0a6da5186e83987ecef41716181d4c8f0..bfa05a159734f39fa46a39b0ed990779bae53195 100644
--- a/gin/modules/module_registry.cc
+++ b/gin/modules/module_registry.cc
@@ -119,7 +119,8 @@ ModuleRegistry* ModuleRegistry::From(Handle<v8::Context> context) {
if (!data)
return NULL;
ModuleRegistry* registry = new ModuleRegistry(isolate);
- context->Global()->SetHiddenValue(key, v8::External::New(registry));
+ context->Global()->SetHiddenValue(key,
+ v8::External::New(isolate, registry));
data->AddSupplement(registry);
return registry;
}
« no previous file with comments | « chrome/renderer/extensions/object_backed_native_handler.cc ('k') | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698