From 3a6d058740a9908a06efb9e9362df01acdee6ff8 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 17 Aug 2018 19:28:52 +0000 Subject: Rename CJS_Return to CJS_Result. "Return" is a verb, and "return" is a reserved-word at that, so avoid using it as part of a class name. Fully mechanical change apart from rename. Change-Id: I120e453e8ba001c4ab74a39e2da6aa6eb590835f Reviewed-on: https://pdfium-review.googlesource.com/40532 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- fxjs/cjs_report.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fxjs/cjs_report.h') diff --git a/fxjs/cjs_report.h b/fxjs/cjs_report.h index f9d1dc8ce4..a969b41f55 100644 --- a/fxjs/cjs_report.h +++ b/fxjs/cjs_report.h @@ -27,9 +27,9 @@ class CJS_Report : public CJS_Object { static const char kName[]; static const JSMethodSpec MethodSpecs[]; - CJS_Return save(CJS_Runtime* pRuntime, + CJS_Result save(CJS_Runtime* pRuntime, const std::vector>& params); - CJS_Return writeText(CJS_Runtime* pRuntime, + CJS_Result writeText(CJS_Runtime* pRuntime, const std::vector>& params); }; -- cgit v1.2.3