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

Unified Diff: third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h

Issue 2939243002: cc/blink: Veto checker-imaging for multipart image resources. (Closed)
Patch Set: tested Created 3 years, 6 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/core/loader/resource/ImageResourceContent.h
diff --git a/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h b/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h
index 8b8adedb1b3fea4b3bf035fbec33085f99166340..a9a11959347e86269d9261b2c462e78b1edac80c 100644
--- a/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h
+++ b/third_party/WebKit/Source/core/loader/resource/ImageResourceContent.h
@@ -163,7 +163,8 @@ class CORE_EXPORT ImageResourceContent final
WARN_UNUSED_RESULT UpdateImageResult UpdateImage(PassRefPtr<SharedBuffer>,
ResourceStatus,
UpdateImageOption,
- bool all_data_received);
+ bool all_data_received,
+ bool is_multipart);
void NotifyStartLoad();
void DestroyDecodedData();
@@ -191,7 +192,7 @@ class CORE_EXPORT ImageResourceContent final
void ChangedInRect(const blink::Image*, const IntRect&) override;
void AsyncLoadCompleted(const blink::Image*) override;
- PassRefPtr<Image> CreateImage();
+ PassRefPtr<Image> CreateImage(bool is_multipart);
void ClearImage();
enum NotifyFinishOption { kShouldNotifyFinish, kDoNotNotifyFinish };

Powered by Google App Engine
This is Rietveld 408576698