Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: fpdfsdk/javascript/util.h

Issue 1837543002: Added test for util.printx() and make it match spec. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Cross-contamination with other CL Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fpdfsdk/javascript/util.h
diff --git a/fpdfsdk/javascript/util.h b/fpdfsdk/javascript/util.h
index 17f252d6dc16fbadaa88b17cdaf4c15db9b475ce..97b636272b050cee6d6e971c5e7878be9036766f 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 std::string printx(const std::string& cFormat,
dsinclair 2016/03/28 18:39:01 std::string and not one of the CFX_ByteString vari
Tom Sepez 2016/03/28 19:03:41 Yes, because we're going to pass it around to vari
+ const std::string& cSource);
};
class CJS_Util : public CJS_Object {

Powered by Google App Engine
This is Rietveld 408576698