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

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

Issue 2143833003: [Match Spec] Form element pointer should not be updated w/in <template> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo labels which have been split into separate CL 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/HTMLConstructionSite.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h
index ea9952dd5ea765062b89aa149ef88e9930bcdb52..c14993e88219d5388d4e0f368184c3549852f5e8 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLConstructionSite.h
@@ -113,7 +113,7 @@ public:
~HTMLConstructionSite();
DECLARE_TRACE();
- void initFragmentParsing(DocumentFragment*);
+ void initFragmentParsing(DocumentFragment*, Element* contextElement);
void detach();
@@ -196,8 +196,7 @@ public:
Element* head() const { return m_head->element(); }
HTMLStackItem* headStackItem() const { return m_head.get(); }
- void setForm(HTMLFormElement*);
- HTMLFormElement* form() const { return m_form.get(); }
+ bool isFormElementPointerNonNull() const { return m_form; }
HTMLFormElement* takeForm();
ParserContentPolicy getParserContentPolicy() { return m_parserContentPolicy; }

Powered by Google App Engine
This is Rietveld 408576698