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

Unified Diff: Source/core/html/parser/HTMLScriptRunner.h

Issue 551333002: Fix WebCore.Scripts.ParserBlocking.TimeBetweenLoadedAndCompiled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 3 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
« no previous file with comments | « Source/core/dom/ScriptLoader.cpp ('k') | Source/core/html/parser/HTMLScriptRunner.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLScriptRunner.h
diff --git a/Source/core/html/parser/HTMLScriptRunner.h b/Source/core/html/parser/HTMLScriptRunner.h
index 812154ae869643dc4a19610dc848fedaa98ed1d0..5548fba777b8b14f2d7ca3f0ffc4967c34f0fa7f 100644
--- a/Source/core/html/parser/HTMLScriptRunner.h
+++ b/Source/core/html/parser/HTMLScriptRunner.h
@@ -101,6 +101,11 @@ private:
// cause nested script execution when parsing <style> tags since </style>
// tags can cause Document to call executeScriptsWaitingForResources.
bool m_hasScriptsWaitingForResources;
+
+ // For tracking the times between script load and compilation, we need to
+ // know whether a parser blocking script was loaded previously, or whether
+ // it's really loaded when requested.
+ bool m_parserBlockingScriptAlreadyLoaded;
};
}
« no previous file with comments | « Source/core/dom/ScriptLoader.cpp ('k') | Source/core/html/parser/HTMLScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698