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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.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/fetch/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index 4f09eff486b71600820df76427ef0c3c2582d0d5..cb6049e3f3556973a67088f8d66f8043d62d711d 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -107,7 +107,7 @@ class CORE_EXPORT Resource : public GarbageCollectedFinalized<Resource>,
virtual void setEncoding(const String&) {}
virtual String encoding() const { return String(); }
virtual void appendData(const char*, size_t);
- virtual void error(const ResourceError&);
+ virtual void error(const ResourceError&, Status errorStatus);
virtual void setCORSFailed() {}
void setNeedsSynchronousCacheHit(bool needsSynchronousCacheHit) {
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ImageResource.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698