summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/BC_UtilCodingConvert.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-03-28 12:06:45 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-28 19:22:50 +0000
commit8b6186f89002099d406508acecf4bccc4ef64c95 (patch)
treedf104ee415cfa90a53a23b88f1f66c3c2fd8d84e /xfa/fxbarcode/BC_UtilCodingConvert.h
parentb0baff546bdcd911c80007829d9af5f05d0c04b0 (diff)
downloadpdfium-8b6186f89002099d406508acecf4bccc4ef64c95.tar.xz
Remove CFX_ArrayTemplate from FX barcode code.
This is now the last usage in pdfium, types to be removed in a follow-on CL. Change-Id: I16f67eb3eb99f21bb231829168203be125129ad7 Reviewed-on: https://pdfium-review.googlesource.com/3247 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxbarcode/BC_UtilCodingConvert.h')
-rw-r--r--xfa/fxbarcode/BC_UtilCodingConvert.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/xfa/fxbarcode/BC_UtilCodingConvert.h b/xfa/fxbarcode/BC_UtilCodingConvert.h
index 859eeea1e9..51cc93df19 100644
--- a/xfa/fxbarcode/BC_UtilCodingConvert.h
+++ b/xfa/fxbarcode/BC_UtilCodingConvert.h
@@ -7,6 +7,8 @@
#ifndef XFA_FXBARCODE_BC_UTILCODINGCONVERT_H_
#define XFA_FXBARCODE_BC_UTILCODINGCONVERT_H_
+#include <vector>
+
#include "core/fxcrt/fx_basic.h"
class CBC_UtilCodingConvert {
@@ -18,8 +20,8 @@ class CBC_UtilCodingConvert {
static void LocaleToUtf8(const CFX_ByteString& source,
CFX_ByteString& result);
static void LocaleToUtf8(const CFX_ByteString& source,
- CFX_ArrayTemplate<uint8_t>& result);
- static void Utf8ToLocale(const CFX_ArrayTemplate<uint8_t>& source,
+ std::vector<uint8_t>& result);
+ static void Utf8ToLocale(const std::vector<uint8_t>& source,
CFX_ByteString& result);
static void Utf8ToLocale(const uint8_t* source,
int32_t count,