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_console.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fxjs/cjs_console.h') diff --git a/fxjs/cjs_console.h b/fxjs/cjs_console.h index 236ad47cf3..9ab2555664 100644 --- a/fxjs/cjs_console.h +++ b/fxjs/cjs_console.h @@ -29,13 +29,13 @@ class CJS_Console : public CJS_Object { static const char kName[]; static const JSMethodSpec MethodSpecs[]; - CJS_Return clear(CJS_Runtime* pRuntime, + CJS_Result clear(CJS_Runtime* pRuntime, const std::vector>& params); - CJS_Return hide(CJS_Runtime* pRuntime, + CJS_Result hide(CJS_Runtime* pRuntime, const std::vector>& params); - CJS_Return println(CJS_Runtime* pRuntime, + CJS_Result println(CJS_Runtime* pRuntime, const std::vector>& params); - CJS_Return show(CJS_Runtime* pRuntime, + CJS_Result show(CJS_Runtime* pRuntime, const std::vector>& params); }; -- cgit v1.2.3