diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-04 23:33:30 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-04 23:33:30 +0000 |
commit | 39cf6a765ae349242289ec3287eaf4d6c5fd57f8 (patch) | |
tree | ec387ee09ee40a2628a27f4215cd836749644bd3 /xfa/fwl | |
parent | 57353fb32972af2254070bfb2f662c8add8b2efb (diff) | |
download | pdfium-39cf6a765ae349242289ec3287eaf4d6c5fd57f8.tar.xz |
Change |virtual ~Foo(){}| to |virtual ~Foo()=default;|chromium/3571
Otherwise code coverage flags the empty body as unreachable.
Change-Id: Iee1d9a876d68276529c70d9b8c7a28276f271767
Reviewed-on: https://pdfium-review.googlesource.com/c/43514
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl')
-rw-r--r-- | xfa/fwl/ifwl_adaptertimermgr.h | 2 | ||||
-rw-r--r-- | xfa/fwl/ifwl_themeprovider.h | 2 | ||||
-rw-r--r-- | xfa/fwl/ifwl_widgetdelegate.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/ifwl_adaptertimermgr.h b/xfa/fwl/ifwl_adaptertimermgr.h index 23627d9191..9f9e5ca91d 100644 --- a/xfa/fwl/ifwl_adaptertimermgr.h +++ b/xfa/fwl/ifwl_adaptertimermgr.h @@ -11,7 +11,7 @@ class IFWL_AdapterTimerMgr { public: - virtual ~IFWL_AdapterTimerMgr() {} + virtual ~IFWL_AdapterTimerMgr() = default; virtual void Start(CFWL_Timer* pTimer, uint32_t dwElapse, bool bImmediately, diff --git a/xfa/fwl/ifwl_themeprovider.h b/xfa/fwl/ifwl_themeprovider.h index 78c3e19fe2..19967680f8 100644 --- a/xfa/fwl/ifwl_themeprovider.h +++ b/xfa/fwl/ifwl_themeprovider.h @@ -19,7 +19,7 @@ class CFWL_Widget; class IFWL_ThemeProvider { public: - virtual ~IFWL_ThemeProvider() {} + virtual ~IFWL_ThemeProvider() = default; virtual void DrawBackground(CFWL_ThemeBackground* pParams) = 0; virtual void DrawText(CFWL_ThemeText* pParams) = 0; diff --git a/xfa/fwl/ifwl_widgetdelegate.h b/xfa/fwl/ifwl_widgetdelegate.h index 09bac9ab4e..17b8933974 100644 --- a/xfa/fwl/ifwl_widgetdelegate.h +++ b/xfa/fwl/ifwl_widgetdelegate.h @@ -16,7 +16,7 @@ class CFX_Matrix; class IFWL_WidgetDelegate { public: - virtual ~IFWL_WidgetDelegate() {} + virtual ~IFWL_WidgetDelegate() = default; virtual void OnProcessMessage(CFWL_Message* pMessage) = 0; virtual void OnProcessEvent(CFWL_Event* pEvent) = 0; |