summaryrefslogtreecommitdiff
path: root/fxjs/cjs_publicmethods.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-17 19:28:52 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-17 19:28:52 +0000
commit3a6d058740a9908a06efb9e9362df01acdee6ff8 (patch)
tree9bc645b0cb3442749458fc63e2feb04c0cb813ef /fxjs/cjs_publicmethods.h
parent0a2328e0eff7a11aa49b7da8f013e658153a7b1a (diff)
downloadpdfium-3a6d058740a9908a06efb9e9362df01acdee6ff8.tar.xz
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 <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_publicmethods.h')
-rw-r--r--fxjs/cjs_publicmethods.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/fxjs/cjs_publicmethods.h b/fxjs/cjs_publicmethods.h
index 89603ca79d..8ec35626af 100644
--- a/fxjs/cjs_publicmethods.h
+++ b/fxjs/cjs_publicmethods.h
@@ -26,69 +26,69 @@ class CJS_PublicMethods : public CJS_Object {
static WideString MakeFormatDate(double dDate, const WideString& format);
static bool IsNumber(const WideString& str);
- static CJS_Return AFNumber_Format(
+ static CJS_Result AFNumber_Format(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFNumber_Keystroke(
+ static CJS_Result AFNumber_Keystroke(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFPercent_Format(
+ static CJS_Result AFPercent_Format(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFPercent_Keystroke(
+ static CJS_Result AFPercent_Keystroke(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFDate_FormatEx(
+ static CJS_Result AFDate_FormatEx(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFDate_KeystrokeEx(
+ static CJS_Result AFDate_KeystrokeEx(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFDate_Format(
+ static CJS_Result AFDate_Format(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFDate_Keystroke(
+ static CJS_Result AFDate_Keystroke(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFTime_FormatEx(
+ static CJS_Result AFTime_FormatEx(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFTime_KeystrokeEx(
+ static CJS_Result AFTime_KeystrokeEx(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFTime_Format(
+ static CJS_Result AFTime_Format(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFTime_Keystroke(
+ static CJS_Result AFTime_Keystroke(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFSpecial_Format(
+ static CJS_Result AFSpecial_Format(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFSpecial_Keystroke(
+ static CJS_Result AFSpecial_Keystroke(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFSpecial_KeystrokeEx(
+ static CJS_Result AFSpecial_KeystrokeEx(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFSimple(CJS_Runtime* pRuntime,
+ static CJS_Result AFSimple(CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFMakeNumber(
+ static CJS_Result AFMakeNumber(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFSimple_Calculate(
+ static CJS_Result AFSimple_Calculate(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFRange_Validate(
+ static CJS_Result AFRange_Validate(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFMergeChange(
+ static CJS_Result AFMergeChange(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFParseDateEx(
+ static CJS_Result AFParseDateEx(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);
- static CJS_Return AFExtractNums(
+ static CJS_Result AFExtractNums(
CJS_Runtime* pRuntime,
const std::vector<v8::Local<v8::Value>>& params);