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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.h

Issue 2108033003: Cancel image loads if decoding failed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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
Index: third_party/WebKit/Source/platform/graphics/ImageSource.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
index 73bdb7ee103c2ecea92bdd52df9934b647b40457..1a79b73077bf3868b6e2cbae323285437ae352ae 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -70,7 +70,7 @@ public:
size_t clearCacheExceptFrame(size_t);
PassRefPtr<SharedBuffer> data();
- void setData(SharedBuffer& data, bool allDataReceived);
+ bool setData(SharedBuffer& data, bool allDataReceived);
pdr. 2016/07/20 20:39:16 It's not clear to me at the callsites that false m
Nate Chapin 2016/07/20 22:50:00 Done.
String filenameExtension() const;
bool isSizeAvailable();

Powered by Google App Engine
This is Rietveld 408576698