Index: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
index f2e15b31e4c114262515a4a8c346468200ea4352..938f53e97dc7dce0da64fc0d320c86f0a1015c5b 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
@@ -78,7 +78,7 @@ PassRefPtrWillBeRawPtr<CSSValue> StyleFetchedImage::computedCSSValue() const |
bool StyleFetchedImage::canRender() const |
{ |
- return m_image->canRender(); |
+ return !m_image->errorOccurred() && !m_image->image()->isNull(); |
} |
bool StyleFetchedImage::isLoaded() const |