From c5709dd345c748016a637b2104544895223f8fc7 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 17 Sep 2018 18:10:36 +0000 Subject: Make CBC_CodeBase::SetTextLocation() virtual. Do the same for a few other CBC_CodeBase methods, instead of trying to implement virtual methods manually using memory pointers. Change-Id: Iec0e3a4f8eabc54962c7ac0a00a1b80b192ff474 Reviewed-on: https://pdfium-review.googlesource.com/42600 Reviewed-by: Henrique Nakashima Commit-Queue: Lei Zhang --- fxbarcode/cbc_qrcode.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fxbarcode/cbc_qrcode.h') diff --git a/fxbarcode/cbc_qrcode.h b/fxbarcode/cbc_qrcode.h index 59d57ac648..8502933df5 100644 --- a/fxbarcode/cbc_qrcode.h +++ b/fxbarcode/cbc_qrcode.h @@ -24,8 +24,7 @@ class CBC_QRCode final : public CBC_CodeBase { bool RenderDevice(CFX_RenderDevice* device, const CFX_Matrix* matrix) override; BC_TYPE GetType() override; - - bool SetErrorCorrectionLevel(int32_t level); + bool SetErrorCorrectionLevel(int32_t level) override; private: CBC_QRCodeWriter* GetQRCodeWriter(); -- cgit v1.2.3