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 /xfa/fgas/font | |
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 'xfa/fgas/font')
-rw-r--r-- | xfa/fgas/font/cfgas_fontmgr.h | 2 | ||||
-rw-r--r-- | xfa/fgas/font/cfgas_gefont.h | 2 | ||||
-rw-r--r-- | xfa/fgas/font/cfgas_pdffontmgr.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h index 72578be744..6dda338a83 100644 --- a/xfa/fgas/font/cfgas_fontmgr.h +++ b/xfa/fgas/font/cfgas_fontmgr.h @@ -121,7 +121,7 @@ class CFX_FontSourceEnum_File { #endif // _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ -class CFGAS_FontMgr : public Observable<CFGAS_FontMgr> { +class CFGAS_FontMgr final : public Observable<CFGAS_FontMgr> { public: CFGAS_FontMgr(); ~CFGAS_FontMgr(); diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h index bc24cebe47..685fa68200 100644 --- a/xfa/fgas/font/cfgas_gefont.h +++ b/xfa/fgas/font/cfgas_gefont.h @@ -20,7 +20,7 @@ class CFX_UnicodeEncoding; -class CFGAS_GEFont : public Retainable { +class CFGAS_GEFont final : public Retainable { public: template <typename T, typename... Args> friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); diff --git a/xfa/fgas/font/cfgas_pdffontmgr.h b/xfa/fgas/font/cfgas_pdffontmgr.h index 235f883ce7..6c4242288a 100644 --- a/xfa/fgas/font/cfgas_pdffontmgr.h +++ b/xfa/fgas/font/cfgas_pdffontmgr.h @@ -19,7 +19,7 @@ class CFGAS_FontMgr; class CFGAS_GEFont; class CPDF_Document; -class CFGAS_PDFFontMgr : public Observable<CFGAS_PDFFontMgr> { +class CFGAS_PDFFontMgr final : public Observable<CFGAS_PDFFontMgr> { public: explicit CFGAS_PDFFontMgr(CPDF_Document* pDoc, CFGAS_FontMgr* pFontMgr); ~CFGAS_PDFFontMgr(); |