Index: third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h b/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h |
index 2c9a3b94f0e5779e1e47c9720eef9fa27739ed2c..69060e6b0be56d321a616a9a1e7121b41a29d7be 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserScriptRunner.h |
@@ -107,13 +107,17 @@ class HTMLParserScriptRunner final |
void requestParsingBlockingScript(Element*); |
void requestDeferredScript(Element*); |
- bool requestPendingScript(PendingScript*, Element*) const; |
+ PendingScript* requestPendingScript(Element*) const; |
// Processes the provided script element, but does not execute any |
// parsing-blocking scripts that may remain after execution. |
void processScriptElementInternal(Element*, |
const TextPosition& scriptStartPosition); |
+ const PendingScript* parserBlockingScript() const { |
+ return m_parserBlockingScript; |
+ } |
+ |
bool isParserBlockingScriptReady(); |
void possiblyFetchBlockedDocWriteScript(PendingScript*); |