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

Unified Diff: third_party/WebKit/Source/core/loader/FrameFetchContext.h

Issue 2487763003: [ImageLoader 2d] Set DecodeError by calling ResourceLoader::cancel()
Patch Set: Rebase Created 4 years, 1 month 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/core/loader/FrameFetchContext.h
diff --git a/third_party/WebKit/Source/core/loader/FrameFetchContext.h b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
index e65e70280feecf1d6a049a6f5b2c667753149d23..b609a83fafb07300656016d7ee1cb4a44fd79af1 100644
--- a/third_party/WebKit/Source/core/loader/FrameFetchContext.h
+++ b/third_party/WebKit/Source/core/loader/FrameFetchContext.h
@@ -103,7 +103,8 @@ class CORE_EXPORT FrameFetchContext final : public FetchContext {
int64_t encodedDataLength) override;
void dispatchDidFail(unsigned long identifier,
const ResourceError&,
- bool isInternalRequest) override;
+ bool isInternalRequest,
+ bool isDecodeError) override;
bool shouldLoadNewResource(Resource::Type) const override;
void willStartLoadingResource(unsigned long identifier,

Powered by Google App Engine
This is Rietveld 408576698