summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/cache/CachedXSLStyleSheet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/cache/CachedXSLStyleSheet.cpp')
-rw-r--r--WebCore/loader/cache/CachedXSLStyleSheet.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/loader/cache/CachedXSLStyleSheet.cpp b/WebCore/loader/cache/CachedXSLStyleSheet.cpp
index 5b30e30..ca7bf13 100644
--- a/WebCore/loader/cache/CachedXSLStyleSheet.cpp
+++ b/WebCore/loader/cache/CachedXSLStyleSheet.cpp
@@ -87,10 +87,11 @@ void CachedXSLStyleSheet::checkNotify()
c->setXSLStyleSheet(m_url, m_response.url(), m_sheet);
}
-void CachedXSLStyleSheet::error()
+void CachedXSLStyleSheet::error(CachedResource::Status status)
{
+ setStatus(status);
+ ASSERT(errorOccurred());
setLoading(false);
- setErrorOccurred(true);
checkNotify();
}