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

Unified Diff: xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp

Issue 1807373002: Reduce size of several PDFium constant tables. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Found another one. 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
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h ('k') | xfa/fxbarcode/pdf417/BC_PDF417Common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp
diff --git a/xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp b/xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp
index dfbbc70264b3afaa058792b493757c8ce7d2842c..53eabefd954bf6045501cb6ab9759a72229857f6 100644
--- a/xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp
+++ b/xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.cpp
@@ -27,7 +27,11 @@
#define SYMBOL_TABLE_Length 2787
-FX_FLOAT CBC_PDF417CodewordDecoder::RATIOS_TABLE[2787][8] = {{0}};
+namespace {
+
+FX_FLOAT RATIOS_TABLE[SYMBOL_TABLE_Length][8] = {{0}};
+
+} // namespace
CBC_PDF417CodewordDecoder::CBC_PDF417CodewordDecoder() {}
CBC_PDF417CodewordDecoder::~CBC_PDF417CodewordDecoder() {}
« no previous file with comments | « xfa/fxbarcode/pdf417/BC_PDF417CodewordDecoder.h ('k') | xfa/fxbarcode/pdf417/BC_PDF417Common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698