Index: third_party/WebKit/Source/web/AssociatedURLLoader.cpp |
diff --git a/third_party/WebKit/Source/web/AssociatedURLLoader.cpp b/third_party/WebKit/Source/web/AssociatedURLLoader.cpp |
index a740f026f7a04fa89997ad82c336fe348033104c..9d0c68a123fa3d0cf5047b2f10065c3954b21729 100644 |
--- a/third_party/WebKit/Source/web/AssociatedURLLoader.cpp |
+++ b/third_party/WebKit/Source/web/AssociatedURLLoader.cpp |
@@ -149,7 +149,8 @@ void AssociatedURLLoader::ClientAdapter::willFollowRedirect(ResourceRequest& new |
WrappedResourceRequest wrappedNewRequest(newRequest); |
WrappedResourceResponse wrappedRedirectResponse(redirectResponse); |
- m_client->willFollowRedirect(m_loader, wrappedNewRequest, wrappedRedirectResponse); |
+ // FIXME: Set encodedDataLength |
Kunihiko Sakamoto
2016/07/01 10:12:35
I believe TODO(someone) is now preferred over FIXM
Adam Rice
2016/07/04 02:44:18
Done.
|
+ m_client->willFollowRedirect(m_loader, wrappedNewRequest, wrappedRedirectResponse, 0); |
} |
void AssociatedURLLoader::ClientAdapter::didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) |
@@ -208,7 +209,7 @@ void AssociatedURLLoader::ClientAdapter::didReceiveData(const char* data, unsign |
CHECK_LE(dataLength, static_cast<unsigned>(std::numeric_limits<int>::max())); |
- m_client->didReceiveData(m_loader, data, dataLength, -1); |
+ m_client->didReceiveData(m_loader, data, dataLength, -1, dataLength); |
} |
void AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata(const char* data, int dataLength) |