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

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

Issue 696903002: Remove a lot of API surface from Element. (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/html/HTMLElement.cpp ('k') | sky/engine/public/web/WebElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/parser/HTMLConstructionSite.cpp
diff --git a/sky/engine/core/html/parser/HTMLConstructionSite.cpp b/sky/engine/core/html/parser/HTMLConstructionSite.cpp
index 727a683181c657fa3b57f9b99b618b49315fa77a..91dc06f94f869436ecfd2637df79b9bbff3ac515 100644
--- a/sky/engine/core/html/parser/HTMLConstructionSite.cpp
+++ b/sky/engine/core/html/parser/HTMLConstructionSite.cpp
@@ -48,7 +48,6 @@ static const unsigned maximumHTMLParserDOMTreeDepth = 512;
static inline void setAttributes(Element* element, AtomicHTMLToken* token)
{
- element->stripScriptingAttributes(token->attributes());
element->parserSetAttributes(token->attributes());
}
@@ -90,7 +89,6 @@ static inline void executeInsertTask(HTMLConstructionSiteTask& task)
if (task.child->isElementNode()) {
Element& child = toElement(*task.child);
- child.beginParsingChildren();
if (task.selfClosing)
child.finishParsingChildren();
}
« no previous file with comments | « sky/engine/core/html/HTMLElement.cpp ('k') | sky/engine/public/web/WebElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698