Unreviewed, rolling out r112201.
[WebKit-https.git] / Source / WebCore / loader / cache / CachedXSLStyleSheet.cpp
index ca4d0e12f9b79248409ad9ea465781cb817a47d4..336fce4ac60ff33837405e8bebe171dd84bfca22 100644 (file)
@@ -88,6 +88,14 @@ void CachedXSLStyleSheet::checkNotify()
         c->setXSLStyleSheet(m_resourceRequest.url(), m_response.url(), m_sheet);
 }
 
+void CachedXSLStyleSheet::error(CachedResource::Status status)
+{
+    setStatus(status);
+    ASSERT(errorOccurred());
+    setLoading(false);
+    checkNotify();
+}
+
 #endif
 
 }