Index: third_party/WebKit/Source/core/fetch/ImageResource.h |
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h |
index 8baf98c6941a7a27c0017233b7d3eb11e27bd570..514f82ceca83a5f15b6048a734cb67ad5534f2e2 100644 |
--- a/third_party/WebKit/Source/core/fetch/ImageResource.h |
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.h |
@@ -118,7 +118,7 @@ public: |
void changedInRect(const blink::Image*, const IntRect&) override; |
// MultipartImageResourceParser::Client |
- void onePartInMultipartReceived(const ResourceResponse&, bool isFirstPart) final; |
+ void onePartInMultipartReceived(const ResourceResponse&) final; |
void multipartDataReceived(const char*, size_t) final; |
DECLARE_VIRTUAL_TRACE(); |
@@ -157,6 +157,7 @@ private: |
PersistentWillBeMember<MultipartImageResourceParser> m_multipartParser; |
RefPtr<blink::Image> m_image; |
+ int m_numParsedPartsInMultipart = 0; |
Nate Chapin
2016/03/15 21:31:12
Maybe this should be a state machine enum, since w
|
bool m_hasDevicePixelRatioHeaderValue; |
}; |