summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/DOMParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/DOMParser.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/DOMParser.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/DOMParser.cpp b/Userland/Libraries/LibWeb/HTML/DOMParser.cpp
index ae2b255700..af780dce2b 100644
--- a/Userland/Libraries/LibWeb/HTML/DOMParser.cpp
+++ b/Userland/Libraries/LibWeb/HTML/DOMParser.cpp
@@ -10,13 +10,8 @@
namespace Web::HTML {
-DOMParser::DOMParser()
-{
-}
-
-DOMParser::~DOMParser()
-{
-}
+DOMParser::DOMParser() = default;
+DOMParser::~DOMParser() = default;
// https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring
NonnullRefPtr<DOM::Document> DOMParser::parse_from_string(String const& string, Bindings::DOMParserSupportedType type)