commit | 3627b5085527ca8dc9e66292775e3ab7a5b2e130 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Thu Apr 16 19:36:20 2020 +0000 |
committer | Chromium commit bot <commit-bot@chromium.org> | Thu Apr 16 19:36:20 2020 +0000 |
tree | 784f8cce74b0d2c990a5861ca9e4af2781fbaf0a | |
parent | b9b007ad799d2a05676bb5c8495c726352620915 [diff] [blame] |
Move scalar vectors to data partition in fxbarcode/ Change-Id: Ib98046fd939962f281192ebf74d900b0fd5964b9 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/68852 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fxbarcode/qrcode/BC_QRCoderBitVector.h b/fxbarcode/qrcode/BC_QRCoderBitVector.h index 9b8af81..a0f29fe 100644 --- a/fxbarcode/qrcode/BC_QRCoderBitVector.h +++ b/fxbarcode/qrcode/BC_QRCoderBitVector.h
@@ -12,6 +12,8 @@ #include <vector> +#include "core/fxcrt/fx_memory_wrappers.h" + class CBC_QRCoderBitVector { public: CBC_QRCoderBitVector(); @@ -31,7 +33,7 @@ void AppendByte(int8_t value); size_t m_sizeInBits = 0; - std::vector<uint8_t> m_array; + std::vector<uint8_t, FxAllocAllocator<uint8_t>> m_array; }; #endif // FXBARCODE_QRCODE_BC_QRCODERBITVECTOR_H_