diff options
author | Lei Zhang <thestig@chromium.org> | 2015-08-14 14:23:57 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-08-14 14:23:57 -0700 |
commit | 0f6b51c0fdd14f5762bf3c7412ac59c825443cc3 (patch) | |
tree | 782b1fe38da61394477cabc08c712c11e57e50dd /fpdfsdk/include/fsdk_define.h | |
parent | c2c3f7b5f0396409451a9d344f35ec1929a76e9f (diff) | |
download | pdfium-0f6b51c0fdd14f5762bf3c7412ac59c825443cc3.tar.xz |
Use override in more classes in fpdfsdk/
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1287193005 .
Diffstat (limited to 'fpdfsdk/include/fsdk_define.h')
-rw-r--r-- | fpdfsdk/include/fsdk_define.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h index 310fa43bd0..2195d2d04a 100644 --- a/fpdfsdk/include/fsdk_define.h +++ b/fpdfsdk/include/fsdk_define.h @@ -46,15 +46,13 @@ class IFSDK_PAUSE_Adapter; class CPDF_CustomAccess final : public IFX_FileRead { public: CPDF_CustomAccess(FPDF_FILEACCESS* pFileAccess); - ~CPDF_CustomAccess() {} + ~CPDF_CustomAccess() override {} - virtual FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; } + FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; } - virtual void Release() override { delete this; } + void Release() override { delete this; } - virtual FX_BOOL ReadBlock(void* buffer, - FX_FILESIZE offset, - size_t size) override; + FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override; private: FPDF_FILEACCESS m_FileAccess; |