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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.h

Issue 2614663004: Pause HTML parser for external stylesheets in the body (Closed)
Patch Set: Paramaterized test cases Created 3 years, 11 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/core/dom/StyleEngine.h
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h
index 85f503553cfb31130026b946db2b60699395f28e..20e3d9aa4b5b5c6bb867b7d43c54edccf7a7e6a0 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h
@@ -334,6 +334,7 @@ class CORE_EXPORT StyleEngine final
// attaching elements and when it is safe to execute scripts.
int m_pendingScriptBlockingStylesheets = 0;
int m_pendingRenderBlockingStylesheets = 0;
+ int m_pendingBodyStylesheets = 0;
HeapVector<TraceWrapperMember<CSSStyleSheet>> m_injectedAuthorStyleSheets;
Member<CSSStyleSheet> m_inspectorStyleSheet;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptableDocumentParser.h ('k') | third_party/WebKit/Source/core/dom/StyleEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698