diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 22:20:54 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-06 22:20:54 +0000 |
commit | 5b971afb2771735fb34d42e4f373e26cb3dcb2f9 (patch) | |
tree | c0b18f69f13d6f611a568d1b6733db6b48cd3707 /gin/function_template.h.pump | |
parent | 5151978d4e59e05e4eae70a320756a857d20d674 (diff) | |
download | chromium_src-5b971afb2771735fb34d42e4f373e26cb3dcb2f9.zip chromium_src-5b971afb2771735fb34d42e4f373e26cb3dcb2f9.tar.gz chromium_src-5b971afb2771735fb34d42e4f373e26cb3dcb2f9.tar.bz2 |
Gin: Fix console module to be varargs again.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/108723006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/function_template.h.pump')
-rw-r--r-- | gin/function_template.h.pump | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gin/function_template.h.pump b/gin/function_template.h.pump index 4870faa..b074bde 100644 --- a/gin/function_template.h.pump +++ b/gin/function_template.h.pump @@ -140,6 +140,11 @@ inline bool GetNextArgument(Arguments* args, int create_flags, bool is_first, *result = *args; return true; } +inline bool GetNextArgument(Arguments* args, int create_flags, bool is_first, + Arguments** result) { + *result = args; + return true; +} // It's common for clients to just need the isolate, so we make that easy. inline bool GetNextArgument(Arguments* args, int create_flags, @@ -205,6 +210,7 @@ v8::Local<v8::FunctionTemplate> CreateFunctionTemplate( gin::Handle<HolderT> holder = CreateHandle( isolate, new HolderT(callback, callback_flags)); return v8::FunctionTemplate::New( + isolate, &internal::Dispatcher<Sig>::DispatchToCallback, ConvertToV8<internal::CallbackHolderBase*>(isolate, holder.get())); } |