diff options
author | tsepez <tsepez@chromium.org> | 2016-03-28 14:13:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-28 14:13:16 -0700 |
commit | 4f1f41f338ce0899e48605c82375a72883f4eb7c (patch) | |
tree | a89cc3f1d8b981fa12d7fd423ef6883c7a502798 /fpdfsdk/javascript/util.h | |
parent | 4678e283c5b48a8954bd0db3565b1376bd9c6b27 (diff) | |
download | pdfium-4f1f41f338ce0899e48605c82375a72883f4eb7c.tar.xz |
Added test for util.printx() and make it match spec.
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1837543002
Diffstat (limited to 'fpdfsdk/javascript/util.h')
-rw-r--r-- | fpdfsdk/javascript/util.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/util.h b/fpdfsdk/javascript/util.h index 17f252d6dc..3022efece2 100644 --- a/fpdfsdk/javascript/util.h +++ b/fpdfsdk/javascript/util.h @@ -38,9 +38,8 @@ class util : public CJS_EmbedObj { CJS_Value& vRet, CFX_WideString& sError); - static void printx(const std::string& cFormat, - const std::string& cSource, - std::string& cPurpose); + static CFX_WideString printx(const CFX_WideString& cFormat, + const CFX_WideString& cSource); }; class CJS_Util : public CJS_Object { |