From 80435cb746fa7bd22cf062ab39829ec86000fd21 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Tue, 24 Oct 2017 21:40:24 -0400 Subject: Convert JS input params to v8::Local>s This CL converts the JS set_* methods and the JSMethod methods to accept v8::Local objects instead of CJS_Value objects. Change-Id: I6de41305deff458eba515bdc3462522b502f74ad Reviewed-on: https://pdfium-review.googlesource.com/16670 Reviewed-by: Tom Sepez Commit-Queue: dsinclair --- fpdfsdk/javascript/report.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/javascript/report.h') diff --git a/fpdfsdk/javascript/report.h b/fpdfsdk/javascript/report.h index 0f040c6c4e..b5f8ef3cc1 100644 --- a/fpdfsdk/javascript/report.h +++ b/fpdfsdk/javascript/report.h @@ -18,11 +18,11 @@ class Report : public CJS_EmbedObj { public: bool save(CJS_Runtime* pRuntime, - const std::vector& params, + const std::vector>& params, CJS_Value& vRet, WideString& sError); bool writeText(CJS_Runtime* pRuntime, - const std::vector& params, + const std::vector>& params, CJS_Value& vRet, WideString& sError); }; -- cgit v1.2.3