| Index: Source/core/html/ImageDocument.cpp
|
| diff --git a/Source/core/html/ImageDocument.cpp b/Source/core/html/ImageDocument.cpp
|
| index e7f5cc5ec01d8c43c0fe7ad15a87b74cff3cba2d..6f07b40cfbb805eedce39c0a92111589331b582e 100644
|
| --- a/Source/core/html/ImageDocument.cpp
|
| +++ b/Source/core/html/ImageDocument.cpp
|
| @@ -131,7 +131,7 @@ void ImageDocumentParser::appendBytes(const char* data, size_t length)
|
| document()->cachedImage()->appendData(data, length);
|
| // Make sure the image renderer gets created because we need the renderer
|
| // to read the aspect ratio. See crbug.com/320244
|
| - document()->updateStyleIfNeeded();
|
| + document()->updateRenderTreeIfNeeded();
|
| document()->imageUpdated();
|
| }
|
|
|
|
|