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/fxcrt/css/cfx_csscolorvalue.h | 2 +- core/fxcrt/css/cfx_csscomputedstyle.h | 2 +- core/fxcrt/css/cfx_cssenumvalue.h | 2 +- core/fxcrt/css/cfx_cssnumbervalue.h | 2 +- core/fxcrt/css/cfx_cssstringvalue.h | 2 +- core/fxcrt/css/cfx_cssvaluelist.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'core/fxcrt/css') diff --git a/core/fxcrt/css/cfx_csscolorvalue.h b/core/fxcrt/css/cfx_csscolorvalue.h index f59c0c5d3d..0156caa786 100644 --- a/core/fxcrt/css/cfx_csscolorvalue.h +++ b/core/fxcrt/css/cfx_csscolorvalue.h @@ -9,7 +9,7 @@ #include "core/fxcrt/css/cfx_cssvalue.h" -class CFX_CSSColorValue : public CFX_CSSValue { +class CFX_CSSColorValue final : public CFX_CSSValue { public: explicit CFX_CSSColorValue(FX_ARGB color); ~CFX_CSSColorValue() override; diff --git a/core/fxcrt/css/cfx_csscomputedstyle.h b/core/fxcrt/css/cfx_csscomputedstyle.h index 5080a7a3c2..f97f3f1d7d 100644 --- a/core/fxcrt/css/cfx_csscomputedstyle.h +++ b/core/fxcrt/css/cfx_csscomputedstyle.h @@ -15,7 +15,7 @@ class CFX_CSSValueList; -class CFX_CSSComputedStyle : public Retainable { +class CFX_CSSComputedStyle final : public Retainable { public: class InheritedData { public: diff --git a/core/fxcrt/css/cfx_cssenumvalue.h b/core/fxcrt/css/cfx_cssenumvalue.h index 0d6b87e85d..c397761d5a 100644 --- a/core/fxcrt/css/cfx_cssenumvalue.h +++ b/core/fxcrt/css/cfx_cssenumvalue.h @@ -9,7 +9,7 @@ #include "core/fxcrt/css/cfx_cssvalue.h" -class CFX_CSSEnumValue : public CFX_CSSValue { +class CFX_CSSEnumValue final : public CFX_CSSValue { public: explicit CFX_CSSEnumValue(CFX_CSSPropertyValue value); ~CFX_CSSEnumValue() override; diff --git a/core/fxcrt/css/cfx_cssnumbervalue.h b/core/fxcrt/css/cfx_cssnumbervalue.h index a49328d663..a977750f08 100644 --- a/core/fxcrt/css/cfx_cssnumbervalue.h +++ b/core/fxcrt/css/cfx_cssnumbervalue.h @@ -23,7 +23,7 @@ enum class CFX_CSSNumberType { Picas, }; -class CFX_CSSNumberValue : public CFX_CSSValue { +class CFX_CSSNumberValue final : public CFX_CSSValue { public: CFX_CSSNumberValue(CFX_CSSNumberType type, float value); ~CFX_CSSNumberValue() override; diff --git a/core/fxcrt/css/cfx_cssstringvalue.h b/core/fxcrt/css/cfx_cssstringvalue.h index d72078a630..d49393c305 100644 --- a/core/fxcrt/css/cfx_cssstringvalue.h +++ b/core/fxcrt/css/cfx_cssstringvalue.h @@ -9,7 +9,7 @@ #include "core/fxcrt/css/cfx_cssvalue.h" -class CFX_CSSStringValue : public CFX_CSSValue { +class CFX_CSSStringValue final : public CFX_CSSValue { public: explicit CFX_CSSStringValue(const WideString& value); ~CFX_CSSStringValue() override; diff --git a/core/fxcrt/css/cfx_cssvaluelist.h b/core/fxcrt/css/cfx_cssvaluelist.h index d2b0c6e7d1..5e04c649b9 100644 --- a/core/fxcrt/css/cfx_cssvaluelist.h +++ b/core/fxcrt/css/cfx_cssvaluelist.h @@ -11,7 +11,7 @@ #include "core/fxcrt/css/cfx_cssvalue.h" -class CFX_CSSValueList : public CFX_CSSValue { +class CFX_CSSValueList final : public CFX_CSSValue { public: explicit CFX_CSSValueList(std::vector>& list); ~CFX_CSSValueList() override; -- cgit v1.2.3