| Index: third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| index 549c3b20dff7749f4978214743e5594a815d055a..4d70ac937abf3b1757641b4c55f1e99030f59d6b 100644
|
| --- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp
|
| @@ -510,14 +510,7 @@ void ImageLoader::imageNotifyFinished(ImageResource* resource) {
|
| updatedHasPendingEvent();
|
| return;
|
| }
|
| - if (resource->wasCanceled()) {
|
| - m_hasPendingLoadEvent = false;
|
| - // Only consider updating the protection ref-count of the Element
|
| - // immediately before returning from this function as doing so might result
|
| - // in the destruction of this ImageLoader.
|
| - updatedHasPendingEvent();
|
| - return;
|
| - }
|
| + DCHECK(!resource->wasCanceled());
|
| loadEventSender().dispatchEventSoon(this);
|
| }
|
|
|
|
|