1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

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

View file

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