From 5f4cd74d2693e23b27237b935f28a87611e25e6b Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Thu, 16 Aug 2018 15:45:09 +0000 Subject: Do not set barcode module width and height in unittest. Setting these to anything outside of [1, 10] is non-op. Not sure why the test did that, but these lines have no effect. Bug: pdfium:1135 Change-Id: I175d07137674ab1b6b9c86b3bc68b4a128601b9f Reviewed-on: https://pdfium-review.googlesource.com/40250 Reviewed-by: Tom Sepez Reviewed-by: Ryan Harrison Commit-Queue: Henrique Nakashima --- xfa/fwl/cfx_barcode_unittest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/xfa/fwl/cfx_barcode_unittest.cpp b/xfa/fwl/cfx_barcode_unittest.cpp index 585d92f2db..0c8a05fece 100644 --- a/xfa/fwl/cfx_barcode_unittest.cpp +++ b/xfa/fwl/cfx_barcode_unittest.cpp @@ -44,8 +44,6 @@ class BarcodeTest : public testing::Test { if (!barcode_) return false; - barcode_->SetModuleHeight(300); - barcode_->SetModuleWidth(420); barcode_->SetHeight(298); barcode_->SetWidth(418); return true; -- cgit v1.2.3