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

Unified Diff: third_party/WebKit/Source/web/WebPerformance.cpp

Issue 1857903002: Record parser blocking time for scripts inserted via doc.write (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/web/WebPerformance.cpp
diff --git a/third_party/WebKit/Source/web/WebPerformance.cpp b/third_party/WebKit/Source/web/WebPerformance.cpp
index 7d7bfe59df2c21dac7fd1c06311a93b1db5f5608..45d2a685ac9568f066dbd1f728a7aac9099c6250 100644
--- a/third_party/WebKit/Source/web/WebPerformance.cpp
+++ b/third_party/WebKit/Source/web/WebPerformance.cpp
@@ -205,6 +205,11 @@ double WebPerformance::parseBlockedOnScriptLoadDuration() const
return millisecondsToSeconds(m_private->timing()->parseBlockedOnScriptLoadDuration());
}
+double WebPerformance::parseBlockedOnScriptLoadFromDocumentWriteDuration() const
+{
+ return millisecondsToSeconds(m_private->timing()->parseBlockedOnScriptLoadFromDocumentWriteDuration());
+}
+
WebPerformance::WebPerformance(const RawPtr<Performance>& performance)
: m_private(performance)
{

Powered by Google App Engine
This is Rietveld 408576698