Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: sky/engine/core/html/parser/HTMLConstructionSite.h

Issue 680583003: Delete ScriptableDocumentParser (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Sort headers Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/editing/markup.cpp ('k') | sky/engine/core/html/parser/HTMLConstructionSite.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/parser/HTMLConstructionSite.h
diff --git a/sky/engine/core/html/parser/HTMLConstructionSite.h b/sky/engine/core/html/parser/HTMLConstructionSite.h
index c2ae7ec44869a5c7ed25cd854178ced235d6b0f4..fdd81525df229110d47309ade626f89db3dd75b1 100644
--- a/sky/engine/core/html/parser/HTMLConstructionSite.h
+++ b/sky/engine/core/html/parser/HTMLConstructionSite.h
@@ -28,7 +28,6 @@
#define HTMLConstructionSite_h
#include "core/dom/Document.h"
-#include "core/dom/ParserContentPolicy.h"
#include "core/html/parser/HTMLElementStack.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassRefPtr.h"
@@ -88,8 +87,8 @@ class HTMLConstructionSite FINAL {
WTF_MAKE_NONCOPYABLE(HTMLConstructionSite);
DISALLOW_ALLOCATION();
public:
- HTMLConstructionSite(Document*, ParserContentPolicy);
- HTMLConstructionSite(DocumentFragment*, ParserContentPolicy);
+ explicit HTMLConstructionSite(Document*);
+ explicit HTMLConstructionSite(DocumentFragment*);
~HTMLConstructionSite();
void trace(Visitor*);
@@ -131,8 +130,6 @@ public:
Document& ownerDocumentForCurrentNode();
HTMLElementStack* openElements() const { return &m_openElements; }
- ParserContentPolicy parserContentPolicy() { return m_parserContentPolicy; }
-
private:
// In the common case, this queue will have only one task because most
// tokens produce only one DOM mutation.
@@ -206,8 +203,6 @@ private:
};
PendingText m_pendingText;
-
- ParserContentPolicy m_parserContentPolicy;
};
} // namespace blink
« no previous file with comments | « sky/engine/core/editing/markup.cpp ('k') | sky/engine/core/html/parser/HTMLConstructionSite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698