diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 09:31:58 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 09:31:58 +0000 |
commit | 91cd4febe4c959d8256341e25a59a4d9dca9ca69 (patch) | |
tree | fd209b95a98db73a7f6e3b7edfc7cee40de6eb62 /gin/function_template.cc | |
parent | 8070b950de0375a10e5e79439bfea7dca26d51b1 (diff) | |
download | chromium_src-91cd4febe4c959d8256341e25a59a4d9dca9ca69.zip chromium_src-91cd4febe4c959d8256341e25a59a4d9dca9ca69.tar.gz chromium_src-91cd4febe4c959d8256341e25a59a4d9dca9ca69.tar.bz2 |
Remove usage of deprecagted V8 API from gin/
R=mkwst@chromium.org
TBR=abarth@chromium.org
BUG=324225
Review URL: https://codereview.chromium.org/94413002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237750 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/function_template.cc')
-rw-r--r-- | gin/function_template.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gin/function_template.cc b/gin/function_template.cc index e8878e0..07882e8 100644 --- a/gin/function_template.cc +++ b/gin/function_template.cc @@ -20,7 +20,8 @@ void InitFunctionTemplates(PerIsolateData* isolate_data) { return; } - v8::Handle<v8::ObjectTemplate> templ(v8::ObjectTemplate::New()); + v8::Handle<v8::ObjectTemplate> templ( + v8::ObjectTemplate::New(isolate_data->isolate())); templ->SetInternalFieldCount(kNumberOfInternalFields); isolate_data->SetObjectTemplate(&internal::CallbackHolderBase::kWrapperInfo, templ); |