diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-07-15 16:00:21 +0200 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-07-17 16:24:57 +0430 |
commit | 2532bdfabf7aabdf1b12116ddda4b87f3b4dc2ae (patch) | |
tree | 3a8f712fd1b710d353c059b612616f0dd35f1440 /Userland/Libraries/LibWeb | |
parent | 25cba4387bf677233374095d30d3304b35620e74 (diff) | |
download | serenity-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.h | 2 |
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 { |