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 8bc2bb5869f72a265c6d8ec119e5830984e57ee2..e0bc3b58cc061e533c9c4d56e9b6bc4cb07e4595 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
@@ -561,7 +561,6 @@ void ImageLoader::dispatchPendingLoadEvent() |
return; |
if (!m_image) |
return; |
- m_hasPendingLoadEvent = false; |
if (element()->document().frame()) |
dispatchLoadEvent(); |
@@ -574,7 +573,6 @@ void ImageLoader::dispatchPendingErrorEvent() |
{ |
if (!m_hasPendingErrorEvent) |
return; |
- m_hasPendingErrorEvent = false; |
if (element()->document().frame()) |
element()->dispatchEvent(Event::create(EventTypeNames::error)); |