Index: Source/core/html/ImageDocument.cpp |
diff --git a/Source/core/html/ImageDocument.cpp b/Source/core/html/ImageDocument.cpp |
index d5d8eb2d399b021118858d7581e75f739f110525..8fe158a0a3761be9f1285ad424435f44ecbc8b57 100644 |
--- a/Source/core/html/ImageDocument.cpp |
+++ b/Source/core/html/ImageDocument.cpp |
@@ -130,6 +130,8 @@ void ImageDocumentParser::appendBytes(const char* data, size_t length) |
return; |
document()->cachedImage()->appendData(data, length); |
+ if (!document()->imageElement()->renderer()) |
+ document()->updateStyleIfNeeded(); |
esprehn
2014/02/19 02:13:02
Remove the if statement, just call updateStyleIfNe
|
document()->imageUpdated(); |
} |