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*); |