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

Unified Diff: mojo/public/bindings/js/waiting_callback.cc

Issue 94483002: Remove usage of deprecated V8 APIs from mojo (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 | « mojo/public/bindings/js/support.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/js/waiting_callback.cc
diff --git a/mojo/public/bindings/js/waiting_callback.cc b/mojo/public/bindings/js/waiting_callback.cc
index 5da2f3ce4b6fd9c90ea5d6df9523776aa4000ed8..f9d209b13472eceebdfff1d004291e4e81f58b52 100644
--- a/mojo/public/bindings/js/waiting_callback.cc
+++ b/mojo/public/bindings/js/waiting_callback.cc
@@ -45,7 +45,7 @@ void WaitingCallback::EnsureRegistered(v8::Isolate* isolate) {
gin::PerIsolateData* data = gin::PerIsolateData::From(isolate);
if (!data->GetObjectTemplate(&kWrapperInfo).IsEmpty())
return;
- v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New();
+ v8::Handle<v8::ObjectTemplate> templ = v8::ObjectTemplate::New(isolate);
templ->SetInternalFieldCount(gin::kNumberOfInternalFields);
data->SetObjectTemplate(&kWrapperInfo, templ);
}
« no previous file with comments | « mojo/public/bindings/js/support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698