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 /fxjs | |
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 'fxjs')
-rw-r--r-- | fxjs/ijs_event_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/ijs_event_context.h b/fxjs/ijs_event_context.h index a81f9fb5cc..e83c423ff6 100644 --- a/fxjs/ijs_event_context.h +++ b/fxjs/ijs_event_context.h @@ -22,7 +22,7 @@ class CPDFSDK_FormFillEnvironment; // may trigger new events on top of one another. class IJS_EventContext { public: - virtual ~IJS_EventContext() {} + virtual ~IJS_EventContext() = default; virtual Optional<IJS_Runtime::JS_Error> RunScript( const WideString& script) = 0; |