summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_codebase.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-09-17 18:54:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-17 18:54:07 +0000
commit222db47cd745c223bbf52ac5770909c41dc660b8 (patch)
treef570fd38c1fa427fd60eeadf3b86ead966d8b9a4 /fxbarcode/cbc_codebase.cpp
parentbff81396b7aee1cc195194d0d1122d8fbec7dfb9 (diff)
downloadpdfium-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.cpp')
-rw-r--r--fxbarcode/cbc_codebase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/cbc_codebase.cpp b/fxbarcode/cbc_codebase.cpp
index b723f551d5..6a04a25bda 100644
--- a/fxbarcode/cbc_codebase.cpp
+++ b/fxbarcode/cbc_codebase.cpp
@@ -31,7 +31,7 @@ CBC_CodeBase::CBC_CodeBase(std::unique_ptr<CBC_Writer> pWriter)
CBC_CodeBase::~CBC_CodeBase() {}
bool CBC_CodeBase::SetTextLocation(BC_TEXT_LOC location) {
- return false;
+ return m_pBCWriter->SetTextLocation(location);
}
bool CBC_CodeBase::SetWideNarrowRatio(int8_t ratio) {