| 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 516fed78f528dadcb49927b73ec2c0e43fcd3ecb..1214c2ca111d30ddcbf52936e152a59ed2f5f6fa 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
|
| @@ -217,7 +217,7 @@ void ImageResource::allClientsAndObserversRemoved()
|
| // Doing so after a conservative GC prevents resetAnimation() from
|
| // upsetting ongoing animation updates (crbug.com/613709)
|
| if (!ThreadHeap::willObjectBeLazilySwept(this))
|
| - Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&ImageResource::doResetAnimation, WeakPersistentThisPointer<ImageResource>(this)));
|
| + Platform::current()->currentThread()->getWebTaskRunner()->postTask(BLINK_FROM_HERE, bind(&ImageResource::doResetAnimation, wrapWeakPersistent(this)));
|
| else
|
| m_image->resetAnimation();
|
| }
|
|
|