summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-07-14 23:17:35 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-07-17 16:24:57 +0430
commitf886aa15b8665e0bb0e886506aa492c99347f1f7 (patch)
treed84c9d50c48293d4b72877188778101ba5641a10 /Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
parentd82f3eb085fc29474fd7310ccc40540e5c2380c2 (diff)
downloadserenity-f886aa15b8665e0bb0e886506aa492c99347f1f7.zip
LibWeb: Rename HTMLToken::AttributeBuilder struct to Attribute
This does not contain StringBuilders anymore, so it can do with a simpler name: Attribute.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h b/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
index daf9bfb47f..568bf25035 100644
--- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
+++ b/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
@@ -35,7 +35,7 @@ public:
size_t column { 0 };
};
- struct AttributeBuilder {
+ struct Attribute {
String prefix;
String local_name;
String namespace_;
@@ -206,7 +206,7 @@ private:
String tag_name;
bool self_closing { false };
bool self_closing_acknowledged { false };
- Vector<AttributeBuilder> attributes;
+ Vector<Attribute> attributes;
} m_tag;
// Type::Comment