summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-13 12:45:56 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-13 12:45:56 -0800
commit988599c5d81bbb568f949454580ec6001258f806 (patch)
treeef17a32995dabec3c63418a2f65fb21a950ade70 /xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h
parent05b4fc1227f5b6d39a3a65daf915a92ea3b749f4 (diff)
downloadpdfium-988599c5d81bbb568f949454580ec6001258f806.tar.xz
Replace CFX_FloatArray with std::vector
Review-Url: https://codereview.chromium.org/2567503002
Diffstat (limited to 'xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h')
-rw-r--r--xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h b/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h
index cf04c06619..3b88f888fd 100644
--- a/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h
+++ b/xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.h
@@ -7,6 +7,8 @@
#ifndef XFA_FXBARCODE_DATAMATRIX_BC_HIGHLEVELENCODER_H_
#define XFA_FXBARCODE_DATAMATRIX_BC_HIGHLEVELENCODER_H_
+#include <vector>
+
#include "xfa/fxbarcode/datamatrix/BC_SymbolShapeHint.h"
#define ASCII_ENCODATION 0
@@ -61,7 +63,7 @@ class CBC_HighLevelEncoder : public CBC_SymbolShapeHint {
private:
static FX_WCHAR randomize253State(FX_WCHAR ch, int32_t codewordPosition);
- static int32_t findMinimums(CFX_FloatArray& charCounts,
+ static int32_t findMinimums(std::vector<FX_FLOAT>& charCounts,
CFX_Int32Array& intCharCounts,
int32_t min,
CFX_ByteArray& mins);