Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
| index 6b2b0eb1e27366951dfa08c16343c91b0a581e2c..bdb5eb876f6783094bfd50631d4940f26a37e8c1 100644 |
| --- a/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp |
| @@ -217,7 +217,7 @@ void HTMLScriptRunner::executePendingScriptAndDispatchEvent(PendingScript* pendi |
| } else { |
| ASSERT(isExecutingScript()); |
| if (scriptParserBlockingTime > 0.0) { |
| - DocumentParserTiming::from(*m_document).recordParserBlockedOnScriptLoadDuration(monotonicallyIncreasingTime() - scriptParserBlockingTime); |
| + DocumentParserTiming::from(*m_document).recordParserBlockedOnScriptLoadDuration(monotonicallyIncreasingTime() - scriptParserBlockingTime, scriptLoader->createdDuringDocumentWrite()); |
|
Charlie Harrison
2016/04/04 19:00:16
You can add my CL as a dependent so trybots, etc c
|
| } |
| if (!doExecuteScript(element.get(), sourceCode, scriptStartPosition)) { |
| scriptLoader->dispatchErrorEvent(); |