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

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

Issue 2614663004: Pause HTML parser for external stylesheets in the body (Closed)
Patch Set: Added Tests 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/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index ba8405801dd068b20223a7f999958b8b881c5620..95aba92ef6a5485b8de9de1c708cbf09a5dbe3eb 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1166,7 +1166,9 @@ class CORE_EXPORT Document : public ContainerNode,
ElementDataCache* elementDataCache() { return m_elementDataCache.get(); }
void didLoadAllScriptBlockingResources();
+ void didAddPendingStylesheetInBody();
void didRemoveAllPendingStylesheet();
+ void didRemoveAllPendingBodyStylesheets();
bool inStyleRecalc() const {
return m_lifecycle.state() == DocumentLifecycle::InStyleRecalc;

Powered by Google App Engine
This is Rietveld 408576698