From 2da7bd4d78897bed52fe1304694f4e970db65e58 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 17 Feb 2015 13:21:34 -0800 Subject: Tidy up JS_Defines.h This is a purely mechanical change, no new functionality. - Expand some macros which were merely a short-cut to save typing but reduced transparency. - Put GET_VALUE_TYPE() implementation into a .cpp file. This is a portion of the patch from issue 908033002 at patchset 40001 (http://crrev.com/908033002#ps40001) R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/927263003 --- fpdfsdk/include/javascript/report.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/include/javascript/report.h') diff --git a/fpdfsdk/include/javascript/report.h b/fpdfsdk/include/javascript/report.h index fb5adf3994..f01d593984 100644 --- a/fpdfsdk/include/javascript/report.h +++ b/fpdfsdk/include/javascript/report.h @@ -14,8 +14,8 @@ public: virtual ~Report(); public: - FX_BOOL save(OBJ_METHOD_PARAMS); - FX_BOOL writeText(OBJ_METHOD_PARAMS); + FX_BOOL save(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); + FX_BOOL writeText(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, JS_ErrorString& sError); }; class CJS_Report : public CJS_Object -- cgit v1.2.3