Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index 872cd0844b67145edd8e5f07906ebf519c6d34e0..91fbc220e58a5385d596d0a6344ebb81adf76daa 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -379,7 +379,7 @@ void StyleSheetContents::checkLoaded() |
// sheetLoaded might be invoked after its owner node is removed from document. |
if (RefPtrWillBeRawPtr<Node> ownerNode = loadingClients[i]->ownerNode()) { |
if (loadingClients[i]->sheetLoaded()) |
- ownerNode->notifyLoadedSheetAndAllCriticalSubresources(m_didLoadErrorOccur); |
+ ownerNode->notifyLoadedSheetAndAllCriticalSubresources(m_didLoadErrorOccur ? Node::ErrorOccurredLoadingSubresource : Node::NoErrorLoadingSubresource); |
} |
} |
} |