Index: Source/core/loader/ImageLoader.cpp |
diff --git a/Source/core/loader/ImageLoader.cpp b/Source/core/loader/ImageLoader.cpp |
index 5d76b7f9356a4b695a91d8490d68b6b8ad0fd7b0..9fd4e87f6af8d53c2241aa4bfafdce819092f4ac 100644 |
--- a/Source/core/loader/ImageLoader.cpp |
+++ b/Source/core/loader/ImageLoader.cpp |
@@ -389,6 +389,11 @@ void ImageLoader::notifyFinished(Resource* resource) |
ASSERT(resource == m_image.get()); |
m_imageComplete = true; |
+ |
+ // Update ImageAnimationPolicy for m_image. |
+ if (m_image) |
+ m_image->updateImageAnimationPolicy(); |
+ |
updateRenderer(); |
if (!m_hasPendingLoadEvent) |