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

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

Issue 2200613002: The HTML parser synchronously creates custom elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring patch to head. Created 4 years, 4 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/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..4d5873ce0ed025e0ae55059baaae8ab88be5e2e6 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"
@@ -95,6 +96,8 @@ public:
void suspendScheduledTasks() final;
void resumeScheduledTasks() final;
+ HTMLParserReentryPermit* reentryPermit() { return m_reentryPermit; }
+
struct TokenizedChunk {
USING_FAST_MALLOC(TokenizedChunk);
public:
@@ -204,6 +207,7 @@ private:
HTMLParserOptions m_options;
HTMLInputStream m_input;
+ Member<HTMLParserReentryPermit> m_reentryPermit;
std::unique_ptr<HTMLToken> m_token;
std::unique_ptr<HTMLTokenizer> m_tokenizer;

Powered by Google App Engine
This is Rietveld 408576698