| Index: Source/core/fetch/ImageResource.cpp
|
| diff --git a/Source/core/fetch/ImageResource.cpp b/Source/core/fetch/ImageResource.cpp
|
| index d9ff30ef476438acf333699122cd794db084e2b9..e4ed9d6655a325799763ad9bc13c569ebce38b1f 100644
|
| --- a/Source/core/fetch/ImageResource.cpp
|
| +++ b/Source/core/fetch/ImageResource.cpp
|
| @@ -449,14 +449,14 @@ void ImageResource::didDraw(const blink::Image* image)
|
| Resource::didAccessDecodedData();
|
| }
|
|
|
| -bool ImageResource::shouldPauseAnimation(const blink::Image* image)
|
| +bool ImageResource::shouldPauseAnimation(const blink::Image* image, bool repeated)
|
| {
|
| if (!image || image != m_image)
|
| return false;
|
|
|
| ResourceClientWalker<ImageResourceClient> w(m_clients);
|
| while (ImageResourceClient* c = w.next()) {
|
| - if (c->willRenderImage(this))
|
| + if (c->willRenderImage(this, repeated))
|
| return false;
|
| }
|
|
|
|
|