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

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

Issue 666913005: Delete HTMLStackItem (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/core.gni ('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 4222457f93931fd3d149590a7730c78a43a54c19..c2ae7ec44869a5c7ed25cd854178ced235d6b0f4 100644
--- a/sky/engine/core/html/parser/HTMLConstructionSite.h
+++ b/sky/engine/core/html/parser/HTMLConstructionSite.h
@@ -126,17 +126,10 @@ public:
void insertTextNode(const String&, WhitespaceMode = WhitespaceUnknown);
bool isEmpty() const { return !m_openElements.stackDepth(); }
- HTMLElementStack::ElementRecord* currentElementRecord() const { return m_openElements.topRecord(); }
Element* currentElement() const { return m_openElements.top(); }
ContainerNode* currentNode() const { return m_openElements.topNode(); }
- HTMLStackItem* currentStackItem() const { return m_openElements.topStackItem(); }
- HTMLStackItem* oneBelowTop() const { return m_openElements.oneBelowTop(); }
Document& ownerDocumentForCurrentNode();
HTMLElementStack* openElements() const { return &m_openElements; }
- bool currentIsRootNode() { return m_openElements.topNode() == m_openElements.rootNode(); }
-
- Element* head() const { return m_head->element(); }
- HTMLStackItem* headStackItem() const { return m_head.get(); }
ParserContentPolicy parserContentPolicy() { return m_parserContentPolicy; }
@@ -159,7 +152,6 @@ private:
// and a Document in all other cases.
RawPtrWillBeMember<ContainerNode> m_attachmentRoot;
- RefPtrWillBeMember<HTMLStackItem> m_head;
mutable HTMLElementStack m_openElements;
TaskQueue m_taskQueue;
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/html/parser/HTMLConstructionSite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698