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 fd862518bb85da378c6eb1473ae0affad2dcde12..9005bc5f246448cb099aecee17c00c93e4daa6ba 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -374,8 +374,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(); |
@@ -1152,6 +1152,7 @@ private: |
void clearFocusedElementTimerFired(Timer<Document>*); |
bool haveStylesheetsLoaded() const; |
+ bool haveRenderBlockingStylesheetsLoaded() const; |
void styleResolverMayHaveChanged(); |
void setHoverNode(Node*); |