summaryrefslogtreecommitdiffstats
path: root/gin/function_template.h.pump
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-28 09:31:58 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-28 09:31:58 +0000
commit91cd4febe4c959d8256341e25a59a4d9dca9ca69 (patch)
treefd209b95a98db73a7f6e3b7edfc7cee40de6eb62 /gin/function_template.h.pump
parent8070b950de0375a10e5e79439bfea7dca26d51b1 (diff)
downloadchromium_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.h.pump')
-rw-r--r--gin/function_template.h.pump1
1 files changed, 1 insertions, 0 deletions
diff --git a/gin/function_template.h.pump b/gin/function_template.h.pump
index 5812c80..1f308ce 100644
--- a/gin/function_template.h.pump
+++ b/gin/function_template.h.pump
@@ -173,6 +173,7 @@ v8::Local<v8::FunctionTemplate> CreateFunctionTemplate(
typedef internal::CallbackHolder<R($for ARG , [[P$(ARG)]])> HolderT;
scoped_refptr<HolderT> holder(new HolderT(callback));
return v8::FunctionTemplate::New(
+ isolate,
&internal::DispatchToCallback<R$for ARG [[, P$(ARG)]]>,
ConvertToV8<internal::CallbackHolderBase*>(isolate, holder.get()));
}