Index: third_party/WebKit/Source/core/dom/StyleEngine.cpp |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
index b225c0941afb20b79e1157522a89e75d7fd1788c..0447ad1a56e86c1e34eb322e49538567b3f17f8c 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp |
@@ -163,6 +163,8 @@ void StyleEngine::addPendingSheet(StyleEngineContext& context) { |
context.addingPendingSheet(document()); |
if (context.addedPendingSheetBeforeBody()) |
m_pendingRenderBlockingStylesheets++; |
+ else |
+ document().didAddPendingStylesheetInBody(); |
} |
// This method is called whenever a top-level stylesheet has finished loading. |