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 --- xfa/fxfa/parser/cxfa_node.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xfa/fxfa/parser/cxfa_node.cpp') diff --git a/xfa/fxfa/parser/cxfa_node.cpp b/xfa/fxfa/parser/cxfa_node.cpp index 7e582c0518..7d707d0baa 100644 --- a/xfa/fxfa/parser/cxfa_node.cpp +++ b/xfa/fxfa/parser/cxfa_node.cpp @@ -418,7 +418,7 @@ class CXFA_WidgetLayoutData { float m_fWidgetHeight = -1.0f; }; -class CXFA_TextLayoutData : public CXFA_WidgetLayoutData { +class CXFA_TextLayoutData final : public CXFA_WidgetLayoutData { public: CXFA_TextLayoutData() = default; ~CXFA_TextLayoutData() override = default; @@ -443,7 +443,7 @@ class CXFA_TextLayoutData : public CXFA_WidgetLayoutData { std::unique_ptr m_pTextProvider; }; -class CXFA_ImageLayoutData : public CXFA_WidgetLayoutData { +class CXFA_ImageLayoutData final : public CXFA_WidgetLayoutData { public: CXFA_ImageLayoutData() = default; ~CXFA_ImageLayoutData() override = default; @@ -503,7 +503,7 @@ class CXFA_FieldLayoutData : public CXFA_WidgetLayoutData { std::vector m_FieldSplitArray; }; -class CXFA_TextEditData : public CXFA_FieldLayoutData { +class CXFA_TextEditData final : public CXFA_FieldLayoutData { public: CXFA_TextEditData() = default; ~CXFA_TextEditData() override = default; @@ -511,7 +511,7 @@ class CXFA_TextEditData : public CXFA_FieldLayoutData { CXFA_TextEditData* AsTextEditData() override { return this; } }; -class CXFA_ImageEditData : public CXFA_FieldLayoutData { +class CXFA_ImageEditData final : public CXFA_FieldLayoutData { public: CXFA_ImageEditData() = default; ~CXFA_ImageEditData() override = default; -- cgit v1.2.3