Index: third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h |
diff --git a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h |
index cd794c47e24a1157939bc37ad9e6d000e58a233d..124db54f2dfb93e8f185dc556c7ab57434c3e541 100644 |
--- a/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h |
+++ b/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.h |
@@ -89,7 +89,7 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader, priv |
void dataSent(Resource*, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override; |
void responseReceived(Resource*, const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>) override; |
void setSerializedCachedMetadata(Resource*, const char*, size_t) override; |
- void dataReceived(Resource*, const char* data, unsigned dataLength) override; |
+ void dataReceived(Resource*, const char* data, size_t dataLength) override; |
void redirectReceived(Resource*, ResourceRequest&, const ResourceResponse&) override; |
void dataDownloaded(Resource*, int) override; |
void didReceiveResourceTiming(Resource*, const ResourceTimingInfo&) override; |
@@ -106,7 +106,7 @@ class CORE_EXPORT DocumentThreadableLoader final : public ThreadableLoader, priv |
// |
// |this| may be dead after calling these method in async mode. |
void handleResponse(unsigned long identifier, const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>); |
- void handleReceivedData(const char* data, unsigned dataLength); |
+ void handleReceivedData(const char* data, size_t dataLength); |
void handleSuccessfulFinish(unsigned long identifier, double finishTime); |
// |this| may be dead after calling this method. |