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

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

Issue 1903803002: Do not block painting for in-body CSS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed merge conflict Created 4 years, 7 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 | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e9cdc2002e5e577364c64a182eca2c9b2aef14aa..673206c4cc4040c56dd7120d4880aa66d1d1bdbe 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -373,8 +373,8 @@ public:
bool sawElementsInKnownNamespaces() const { return m_sawElementsInKnownNamespaces; }
- bool isRenderingReady() const { return haveImportsLoaded() && haveStylesheetsLoaded(); }
- bool isScriptExecutionReady() const { return isRenderingReady(); }
+ bool isRenderingReady() const { return haveImportsLoaded() && haveRenderBlockingStylesheetsLoaded(); }
+ bool isScriptExecutionReady() const { return haveImportsLoaded() && haveStylesheetsLoaded(); }
// This is a DOM function.
StyleSheetList& styleSheets();
@@ -1156,6 +1156,7 @@ private:
void clearFocusedElementTimerFired(Timer<Document>*);
bool haveStylesheetsLoaded() const;
+ bool haveRenderBlockingStylesheetsLoaded() const;
void styleResolverMayHaveChanged();
void setHoverNode(Node*);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698