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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h

Issue 2169433002: HTMLTreeBuilderSimulator: Element created inside HTMLIntegrationPoint should be HTMLElement Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
index 1d4d898b03dffd9cfa45d9777589daa763e7976e..828e5a41da6173dea62016cbebf0872d7d5eca86 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
@@ -76,9 +76,9 @@ public:
void setState(const State& state) { m_stack = state; }
SimulatedToken simulate(const CompactHTMLToken&, HTMLTokenizer*);
+ bool inForeignContent() const { return currentNamespace() != HTML; }
private:
- bool inForeignContent() const { return currentNamespace() != HTML; }
Namespace currentNamespace() const { return static_cast<Namespace>(m_stack.last().ns); }
bool stackContainsNamespace(Namespace namespaceOfInterest) const
{

Powered by Google App Engine
This is Rietveld 408576698