From 55865454c43fbc3b163cff166544ba0a060dcbc4 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 27 Aug 2018 20:18:04 +0000 Subject: 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 Commit-Queue: Tom Sepez --- core/fxge/dib/cfx_bitmapcomposer.h | 2 +- core/fxge/dib/cfx_bitmapstorer.h | 2 +- core/fxge/dib/cfx_imagetransformer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'core/fxge/dib') diff --git a/core/fxge/dib/cfx_bitmapcomposer.h b/core/fxge/dib/cfx_bitmapcomposer.h index f1bf0e9f32..50a53dbc2b 100644 --- a/core/fxge/dib/cfx_bitmapcomposer.h +++ b/core/fxge/dib/cfx_bitmapcomposer.h @@ -18,7 +18,7 @@ class CFX_ClipRgn; class CFX_DIBitmap; -class CFX_BitmapComposer : public ScanlineComposerIface { +class CFX_BitmapComposer final : public ScanlineComposerIface { public: CFX_BitmapComposer(); ~CFX_BitmapComposer() override; diff --git a/core/fxge/dib/cfx_bitmapstorer.h b/core/fxge/dib/cfx_bitmapstorer.h index 7d3482fc3f..3da1f70487 100644 --- a/core/fxge/dib/cfx_bitmapstorer.h +++ b/core/fxge/dib/cfx_bitmapstorer.h @@ -16,7 +16,7 @@ #include "core/fxge/dib/scanlinecomposer_iface.h" #include "third_party/base/stl_util.h" -class CFX_BitmapStorer : public ScanlineComposerIface { +class CFX_BitmapStorer final : public ScanlineComposerIface { public: CFX_BitmapStorer(); ~CFX_BitmapStorer() override; diff --git a/core/fxge/dib/cfx_imagetransformer.cpp b/core/fxge/dib/cfx_imagetransformer.cpp index 0042462c89..66446ce52c 100644 --- a/core/fxge/dib/cfx_imagetransformer.cpp +++ b/core/fxge/dib/cfx_imagetransformer.cpp @@ -180,7 +180,7 @@ class CPDF_FixedMatrix { const int f; }; -class CFX_BilinearMatrix : public CPDF_FixedMatrix { +class CFX_BilinearMatrix final : public CPDF_FixedMatrix { public: explicit CFX_BilinearMatrix(const CFX_Matrix& src) : CPDF_FixedMatrix(src) {} -- cgit v1.2.3