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

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

Issue 2546373002: Properly simulate self-closing tags when in "foreign content" mode (Closed)
Patch Set: Add CORE_EXPORT Created 4 years 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 40a5203349de4d8cd8d571b20b52f7f1b421f4c6..d8027db7358a428922ed209f0ce7109137d1cac5 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
@@ -26,6 +26,7 @@
#ifndef HTMLTreeBuilderSimulator_h
#define HTMLTreeBuilderSimulator_h
+#include "core/CoreExport.h"
#include "core/html/parser/HTMLParserOptions.h"
#include "wtf/Vector.h"
@@ -35,7 +36,7 @@ class CompactHTMLToken;
class HTMLTokenizer;
class HTMLTreeBuilder;
-class HTMLTreeBuilderSimulator {
+class CORE_EXPORT HTMLTreeBuilderSimulator {
USING_FAST_MALLOC(HTMLTreeBuilderSimulator);
private:
@@ -56,8 +57,6 @@ class HTMLTreeBuilderSimulator {
SimulatedToken simulate(const CompactHTMLToken&, HTMLTokenizer*);
private:
- explicit HTMLTreeBuilderSimulator(HTMLTreeBuilder*);
-
bool inForeignContent() const { return m_namespaceStack.back() != HTML; }
HTMLParserOptions m_options;
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698