summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-07-15 16:00:21 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-07-17 16:24:57 +0430
commit2532bdfabf7aabdf1b12116ddda4b87f3b4dc2ae (patch)
tree3a8f712fd1b710d353c059b612616f0dd35f1440 /Userland/Libraries/LibWeb
parent25cba4387bf677233374095d30d3304b35620e74 (diff)
downloadserenity-2532bdfabf7aabdf1b12116ddda4b87f3b4dc2ae.zip
LibWeb: Remove friend class declarations from HTMLToken
Since all interaction with the HTMLToken class now happens over getters and setters, there is no more need for HTMLTokenizer and HTMLDocumentParser to have direct access to the members.
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h b/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
index a986e1442b..54297e6bae 100644
--- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
+++ b/Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h
@@ -19,8 +19,6 @@ namespace Web::HTML {
class HTMLTokenizer;
class HTMLToken {
- friend class HTMLDocumentParser;
- friend class HTMLTokenizer;
public:
enum class Type {