Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert

Differential Revision: https://phabricator.services.mozilla.com/D66016
This commit is contained in:
Simon Giesecke
2020-03-17 09:38:32 +00:00
parent 8dd47017b9
commit e613597e90
126 changed files with 170 additions and 230 deletions

View File

@@ -103,7 +103,7 @@ class nsTextControlFrame::nsAnonDivObserver final
NS_DECL_NSIMUTATIONOBSERVER_CONTENTREMOVED
private:
~nsAnonDivObserver() {}
~nsAnonDivObserver() = default;
nsTextControlFrame& mFrame;
};
@@ -122,7 +122,7 @@ nsTextControlFrame::nsTextControlFrame(ComputedStyle* aStyle,
ClearCachedValue();
}
nsTextControlFrame::~nsTextControlFrame() {}
nsTextControlFrame::~nsTextControlFrame() = default;
nsIScrollableFrame* nsTextControlFrame::GetScrollTargetFrame() {
if (!mRootNode) {