mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02: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:
committed by
Ali Mohammad Pur
parent
25cba4387b
commit
2532bdfabf
Notes:
sideshowbarker
2024-07-18 08:52:39 +09:00
Author: https://github.com/MaxWipfli Commit: https://github.com/SerenityOS/serenity/commit/2532bdfabf7 Pull-request: https://github.com/SerenityOS/serenity/pull/8784 Reviewed-by: https://github.com/Hendiadyoin1 Reviewed-by: https://github.com/alimpfard
@@ -19,8 +19,6 @@ namespace Web::HTML {
|
||||
class HTMLTokenizer;
|
||||
|
||||
class HTMLToken {
|
||||
friend class HTMLDocumentParser;
|
||||
friend class HTMLTokenizer;
|
||||
|
||||
public:
|
||||
enum class Type {
|
||||
|
||||
Reference in New Issue
Block a user