mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in editor. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D65287 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
feb58414e5
commit
dd65843b46
@ -3563,7 +3563,7 @@ class HTMLEditor final : public TextEditor,
|
||||
nsresult OnError(const nsAString& aErrorName);
|
||||
|
||||
private:
|
||||
~BlobReader() {}
|
||||
~BlobReader() = default;
|
||||
|
||||
RefPtr<dom::BlobImpl> mBlob;
|
||||
RefPtr<HTMLEditor> mHTMLEditor;
|
||||
|
@ -24,7 +24,7 @@ typedef AutoTArray<RefPtr<dom::Element>, 16> ManualNACArray;
|
||||
*/
|
||||
class ManualNACPtr final {
|
||||
public:
|
||||
ManualNACPtr() {}
|
||||
ManualNACPtr() = default;
|
||||
MOZ_IMPLICIT ManualNACPtr(decltype(nullptr)) {}
|
||||
explicit ManualNACPtr(already_AddRefed<dom::Element> aNewNAC)
|
||||
: mPtr(aNewNAC) {
|
||||
|
Loading…
Reference in New Issue
Block a user