From 1eae16d3b17d6b396969ecf81f6546f5a1d72dfd Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Tue, 5 Sep 2017 12:07:02 -0400 Subject: Remove isDevice parameter from barcode Render(). isDevice is currently false in tests and fuzzers and true in real usage. This CL changes it all to true. Change-Id: Idea14795d7f0bb70031e04e5c58e248de72fd39e Reviewed-on: https://pdfium-review.googlesource.com/13130 Commit-Queue: Henrique Nakashima Reviewed-by: Tom Sepez --- fxbarcode/cbc_pdf417i.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxbarcode/cbc_pdf417i.cpp') diff --git a/fxbarcode/cbc_pdf417i.cpp b/fxbarcode/cbc_pdf417i.cpp index 23ad3ef74d..545a7d8cbf 100644 --- a/fxbarcode/cbc_pdf417i.cpp +++ b/fxbarcode/cbc_pdf417i.cpp @@ -40,7 +40,7 @@ void CBC_PDF417I::SetTruncated(bool truncated) { GetPDF417Writer()->SetTruncated(truncated); } -bool CBC_PDF417I::Encode(const CFX_WideStringC& contents, bool isDevice) { +bool CBC_PDF417I::Encode(const CFX_WideStringC& contents) { int32_t outWidth = 0; int32_t outHeight = 0; auto* pWriter = GetPDF417Writer(); -- cgit v1.2.3