diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-07 20:17:23 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-07 20:17:23 +0000 |
commit | e1c2f6d7fe7a50280161832799550a3ee8f98088 (patch) | |
tree | 2850100c01fbd1fdf26f29aa574b2e59d71b3729 /fxjs/cfxjse_formcalc_context.h | |
parent | 37ef9577dadc909c5affa6a6d6961557a7e73755 (diff) | |
download | pdfium-e1c2f6d7fe7a50280161832799550a3ee8f98088.tar.xz |
Remove WideString::Format() from ThrowException() methods.chromium/3516
No need for variadic printf-like functions, since callers can cobble
arguments into a string much more simply.
Change-Id: I0e8d6f6a55a3715ef9d5c6940b73ce8bb2220a1a
Reviewed-on: https://pdfium-review.googlesource.com/39611
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cfxjse_formcalc_context.h')
-rw-r--r-- | fxjs/cfxjse_formcalc_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cfxjse_formcalc_context.h b/fxjs/cfxjse_formcalc_context.h index e95cc5f98c..ef1cd3495f 100644 --- a/fxjs/cfxjse_formcalc_context.h +++ b/fxjs/cfxjse_formcalc_context.h @@ -399,7 +399,7 @@ class CFXJSE_FormCalcContext : public CFXJSE_HostObject { const WideString& exp) const; void ThrowArgumentMismatchException() const; void ThrowParamCountMismatchException(const WideString& method) const; - void ThrowException(const wchar_t* str, ...) const; + void ThrowException(const WideString& str) const; UnownedPtr<v8::Isolate> m_pIsolate; CFXJSE_Class* m_pFMClass; |