summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Parser/HTMLDocumentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/Parser/HTMLDocumentParser.h')
-rw-r--r--Libraries/LibWeb/Parser/HTMLDocumentParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Parser/HTMLDocumentParser.h b/Libraries/LibWeb/Parser/HTMLDocumentParser.h
index ec710a2f0d..1d2fbf2f5c 100644
--- a/Libraries/LibWeb/Parser/HTMLDocumentParser.h
+++ b/Libraries/LibWeb/Parser/HTMLDocumentParser.h
@@ -138,7 +138,7 @@ private:
void increment_script_nesting_level();
void decrement_script_nesting_level();
size_t script_nesting_level() const { return m_script_nesting_level; }
- void reset_the_insertion_mode_appropriately(const Element* context_element = nullptr);
+ void reset_the_insertion_mode_appropriately();
void adjust_mathml_attributes(HTMLToken&);
void adjust_svg_attributes(HTMLToken&);
@@ -177,6 +177,7 @@ private:
RefPtr<Document> m_document;
RefPtr<HTMLHeadElement> m_head_element;
RefPtr<HTMLFormElement> m_form_element;
+ RefPtr<Element> m_context_element;
Vector<HTMLToken> m_pending_table_character_tokens;