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.
This commit is contained in:
Max Wipfli 2021-07-15 16:00:21 +02:00 committed by Ali Mohammad Pur
parent 25cba4387b
commit 2532bdfabf
Notes: sideshowbarker 2024-07-18 08:52:39 +09:00

View file

@ -19,8 +19,6 @@ namespace Web::HTML {
class HTMLTokenizer;
class HTMLToken {
friend class HTMLDocumentParser;
friend class HTMLTokenizer;
public:
enum class Type {