diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-27 20:18:04 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-27 20:18:04 +0000 |
commit | 55865454c43fbc3b163cff166544ba0a060dcbc4 (patch) | |
tree | 66cefeed22a38d19db07e63b315c9f09832d11b2 /core/fpdfdoc | |
parent | 76525c4a9d2aa6d1f2685d8483e3d491fd361df1 (diff) | |
download | pdfium-55865454c43fbc3b163cff166544ba0a060dcbc4.tar.xz |
The final game: mark everything final.
Then revert the ones that break compilation.
Fix one IWYU noticed during presubmit.
Change-Id: I881a8a72818e55dbc4816247e35ff5e3015194e7
Reviewed-on: https://pdfium-review.googlesource.com/41470
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfdoc')
-rw-r--r-- | core/fpdfdoc/cpdf_occontext.h | 2 | ||||
-rw-r--r-- | core/fpdfdoc/cpdf_structelement.h | 2 | ||||
-rw-r--r-- | core/fpdfdoc/cpvt_floatrect.h | 2 | ||||
-rw-r--r-- | core/fpdfdoc/cpvt_fontmap.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/core/fpdfdoc/cpdf_occontext.h b/core/fpdfdoc/cpdf_occontext.h index 67763610f4..16b28ba06f 100644 --- a/core/fpdfdoc/cpdf_occontext.h +++ b/core/fpdfdoc/cpdf_occontext.h @@ -17,7 +17,7 @@ class CPDF_Dictionary; class CPDF_Document; class CPDF_PageObject; -class CPDF_OCContext : public Retainable { +class CPDF_OCContext final : public Retainable { public: enum UsageType { View = 0, Design, Print, Export }; diff --git a/core/fpdfdoc/cpdf_structelement.h b/core/fpdfdoc/cpdf_structelement.h index 79e8dd92c8..355599ff87 100644 --- a/core/fpdfdoc/cpdf_structelement.h +++ b/core/fpdfdoc/cpdf_structelement.h @@ -34,7 +34,7 @@ class CPDF_StructKid { uint32_t m_ContentId; // For PageContent, StreamContent. }; -class CPDF_StructElement : public Retainable { +class CPDF_StructElement final : public Retainable { public: template <typename T, typename... Args> friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); diff --git a/core/fpdfdoc/cpvt_floatrect.h b/core/fpdfdoc/cpvt_floatrect.h index c5eb2202bb..4dca3aaa43 100644 --- a/core/fpdfdoc/cpvt_floatrect.h +++ b/core/fpdfdoc/cpvt_floatrect.h @@ -9,7 +9,7 @@ #include "core/fxcrt/fx_coordinates.h" -class CPVT_FloatRect : public CFX_FloatRect { +class CPVT_FloatRect final : public CFX_FloatRect { public: CPVT_FloatRect() { left = top = right = bottom = 0.0f; } diff --git a/core/fpdfdoc/cpvt_fontmap.h b/core/fpdfdoc/cpvt_fontmap.h index f1a27753ac..6d8ca062c1 100644 --- a/core/fpdfdoc/cpvt_fontmap.h +++ b/core/fpdfdoc/cpvt_fontmap.h @@ -17,7 +17,7 @@ class CPDF_Document; class CPDF_Dictionary; class CPDF_Font; -class CPVT_FontMap : public IPVT_FontMap { +class CPVT_FontMap final : public IPVT_FontMap { public: CPVT_FontMap(CPDF_Document* pDoc, CPDF_Dictionary* pResDict, |