| Index: third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.cpp b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| index f9b25215b01aee542b3ff782b100b12d8887fa10..41e87dfc8bc39fe9d4a6b2f2753c3bad8e7cb31d 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| @@ -218,7 +218,7 @@ void ImageResource::doResetAnimation()
|
| void ImageResource::allClientsAndObserversRemoved()
|
| {
|
| if (m_image) {
|
| - CHECK(!errorOccurred());
|
| + CHECK(m_image->isNull() || !errorOccurred());
|
| // If possible, delay the resetting until back at the event loop.
|
| // Doing so after a conservative GC prevents resetAnimation() from
|
| // upsetting ongoing animation updates (crbug.com/613709)
|
|
|