diff options
author | Lei Zhang <thestig@chromium.org> | 2018-09-17 18:54:07 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-17 18:54:07 +0000 |
commit | 222db47cd745c223bbf52ac5770909c41dc660b8 (patch) | |
tree | f570fd38c1fa427fd60eeadf3b86ead966d8b9a4 /fxbarcode/cbc_codebase.h | |
parent | bff81396b7aee1cc195194d0d1122d8fbec7dfb9 (diff) | |
download | pdfium-222db47cd745c223bbf52ac5770909c41dc660b8.tar.xz |
Make CBC_CodeBase::SetTextLocation() not virtual.
Make CBC_Writer::SetTextLocation() virtual instead.
Change-Id: I9ac06affe35f3c7bebc2f5ff0917e7146cfe89cc
Reviewed-on: https://pdfium-review.googlesource.com/42601
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxbarcode/cbc_codebase.h')
-rw-r--r-- | fxbarcode/cbc_codebase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/cbc_codebase.h b/fxbarcode/cbc_codebase.h index e0f402d91c..be49f8a0e7 100644 --- a/fxbarcode/cbc_codebase.h +++ b/fxbarcode/cbc_codebase.h @@ -29,12 +29,12 @@ class CBC_CodeBase { virtual bool Encode(const WideStringView& contents) = 0; virtual bool RenderDevice(CFX_RenderDevice* device, const CFX_Matrix* matrix) = 0; - virtual bool SetTextLocation(BC_TEXT_LOC location); virtual bool SetWideNarrowRatio(int8_t ratio); virtual bool SetStartChar(char start); virtual bool SetEndChar(char end); virtual bool SetErrorCorrectionLevel(int32_t level); + bool SetTextLocation(BC_TEXT_LOC location); bool SetCharEncoding(int32_t encoding); bool SetModuleHeight(int32_t moduleHeight); bool SetModuleWidth(int32_t moduleWidth); |