瀏覽代碼

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.
Max Wipfli 4 年之前
父節點
當前提交
2532bdfabf
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      Userland/Libraries/LibWeb/HTML/Parser/HTMLToken.h

+ 0 - 2
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 {