Use "= default" for more default constructors and destructors in WebCore
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2017 20:58:49 +0000 (20:58 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2017 20:58:49 +0000 (20:58 +0000)
commit3576c682fdeb7a972c945674df5eb69bba17692a
treefc5fd8740f10aceaa2021f7eccf90c8c5a404579
parent0b7fdf3f7e3b286bca48a3fa12040a5e5bad7ce4
Use "= default" for more default constructors and destructors in WebCore
https://bugs.webkit.org/show_bug.cgi?id=178585

Patch by Daniel Bates <dabates@apple.com> on 2017-10-20
Reviewed by Alex Christensen.

Also remove some destructors that would be implicitly generated.

* Modules/applepay/PaymentMerchantSession.h:
(WebCore::PaymentMerchantSession::~PaymentMerchantSession): Deleted.
* platform/ControlStates.h:
(WebCore::ControlStates::~ControlStates): Deleted.
* platform/PlatformEvent.h:
(WebCore::PlatformEvent::~PlatformEvent): Use default.
* platform/PlatformStrategies.h:
(WebCore::PlatformStrategies::PlatformStrategies): Ditto.
* platform/image-decoders/gif/GIFImageReader.h:
(GIFFrameContext::GIFFrameContext):
(GIFFrameContext::~GIFFrameContext): Deleted.
(GIFImageReader::~GIFImageReader): Deleted.
* rendering/RenderBlockFlow.h:
(WebCore::RenderBlockFlow::RenderBlockFlowRareData::~RenderBlockFlowRareData): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@223794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/PaymentMerchantSession.h
Source/WebCore/platform/ControlStates.h
Source/WebCore/platform/PlatformEvent.h
Source/WebCore/platform/PlatformStrategies.h
Source/WebCore/platform/image-decoders/gif/GIFImageReader.h
Source/WebCore/rendering/RenderBlockFlow.h