diff options
| author | Tom Sepez <tsepez@chromium.org> | 2019-11-08 20:31:35 +0000 |
|---|---|---|
| committer | Chromium commit bot <commit-bot@chromium.org> | 2019-11-08 20:31:35 +0000 |
| commit | ea8d8d856bb644bd9348d2424d284e76da0f487b (patch) | |
| tree | b0160eee41fc18ea591572c11af11f7697fe4da8 /fxbarcode/cbc_codebase.cpp | |
| parent | e6ea9aebf3c361ee10e4cd550f54a9f263d9a446 (diff) | |
| download | platform_external_pdfium-ea8d8d856bb644bd9348d2424d284e76da0f487b.tar.gz platform_external_pdfium-ea8d8d856bb644bd9348d2424d284e76da0f487b.tar.bz2 platform_external_pdfium-ea8d8d856bb644bd9348d2424d284e76da0f487b.zip | |
Remove CBC_Writer::Set{Background,Barcode}Color().
These are only called from the same-named methods in CBC_CodeBase,
which are themselves not called. Replace the members formerly set
with static constants.
Change-Id: Ic75409924d9502bfedf8018b757d824b09a2bcf1
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/62030
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/cbc_codebase.cpp')
| -rw-r--r-- | fxbarcode/cbc_codebase.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fxbarcode/cbc_codebase.cpp b/fxbarcode/cbc_codebase.cpp index c31ee6c43..305d09b9c 100644 --- a/fxbarcode/cbc_codebase.cpp +++ b/fxbarcode/cbc_codebase.cpp @@ -69,11 +69,3 @@ bool CBC_CodeBase::SetHeight(int32_t height) { bool CBC_CodeBase::SetWidth(int32_t width) { return m_pBCWriter->SetWidth(width); } - -void CBC_CodeBase::SetBackgroundColor(FX_ARGB backgroundColor) { - m_pBCWriter->SetBackgroundColor(backgroundColor); -} - -void CBC_CodeBase::SetBarcodeColor(FX_ARGB foregroundColor) { - m_pBCWriter->SetBarcodeColor(foregroundColor); -} |
