Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h |
index e83f3bbd6411bb80acc842efc99330e4db6cc7de..84a12b1b2b83237923cff750cd9b0edfbdbaec63 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h |
@@ -35,6 +35,7 @@ |
#include "core/html/parser/CompactHTMLToken.h" |
#include "core/html/parser/HTMLInputStream.h" |
#include "core/html/parser/HTMLParserOptions.h" |
+#include "core/html/parser/HTMLParserReentryPermit.h" |
#include "core/html/parser/HTMLPreloadScanner.h" |
#include "core/html/parser/HTMLScriptRunnerHost.h" |
#include "core/html/parser/HTMLSourceTracker.h" |
@@ -47,6 +48,7 @@ |
#include "core/html/parser/XSSAuditorDelegate.h" |
#include "platform/text/SegmentedString.h" |
#include "wtf/Deque.h" |
+#include "wtf/RefPtr.h" |
#include "wtf/WeakPtr.h" |
#include "wtf/text/TextPosition.h" |
#include <memory> |
@@ -95,6 +97,8 @@ public: |
void suspendScheduledTasks() final; |
void resumeScheduledTasks() final; |
+ HTMLParserReentryPermit* reentryPermit() { return m_reentryPermit.get(); } |
+ |
struct TokenizedChunk { |
USING_FAST_MALLOC(TokenizedChunk); |
public: |
@@ -204,6 +208,7 @@ private: |
HTMLParserOptions m_options; |
HTMLInputStream m_input; |
+ RefPtr<HTMLParserReentryPermit> m_reentryPermit; |
std::unique_ptr<HTMLToken> m_token; |
std::unique_ptr<HTMLTokenizer> m_tokenizer; |