| 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..4ca64b9c82f4220ea9fda2c6f643069ac809ab6a 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->wasCreatedDuringDocumentWrite());
|
| }
|
| if (!doExecuteScript(element.get(), sourceCode, scriptStartPosition)) {
|
| scriptLoader->dispatchErrorEvent();
|
|
|