Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResource.cpp

Issue 2009103002: Ensure observers are notified when an image fails to decode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/images/restyle-decode-error-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81db13640f8150ed4554bcf6542607cb4925b564..7f1b925a19ac449b8f7698b39f6388cca8f9cd86 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.cpp
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.cpp
@@ -372,7 +372,6 @@ void ImageResource::updateImage(bool allDataReceived)
clear();
if (memoryCache()->contains(this))
memoryCache()->remove(this);
- return;
}
// It would be nice to only redraw the decoded band of the image, but with the current design
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/images/restyle-decode-error-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698