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

Unified Diff: Source/core/fetch/Resource.h

Issue 1154413002: Make multipart image documents work again. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: +test Created 5 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
Index: Source/core/fetch/Resource.h
diff --git a/Source/core/fetch/Resource.h b/Source/core/fetch/Resource.h
index 58340fd9b3733b006e2141bfbccce67610c7ac88..be5421de50c2d21f55f3c51d82b659b175b8d21f 100644
--- a/Source/core/fetch/Resource.h
+++ b/Source/core/fetch/Resource.h
@@ -170,6 +170,7 @@ public:
&& type() != Raw
&& type() != TextTrack;
}
+ bool canBeMultipart() const { return type() == Image || type() == MainResource; }
Mike West 2015/05/28 05:51:54 This seems unclear; we don't support multipart for
Nate Chapin 2015/05/28 17:44:24 We fail. I was hoping to convey some level of ambi
// Computes the status of an object after loading.
// Updates the expire date on the cache entry file

Powered by Google App Engine
This is Rietveld 408576698