Index: third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.cc |
diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.cc b/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.cc |
index bfe21a58466f21157e1ca19ca6d727440deb3eb7..b88005c8c6f548a2c9feb62d53f15b35251deef3 100644 |
--- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.cc |
+++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock_factory_impl.cc |
@@ -114,8 +114,10 @@ void WebURLLoaderMockFactoryImpl::LoadSynchronously( |
const WebURLRequest& request, |
WebURLResponse* response, |
WebURLError* error, |
- WebData* data) { |
+ WebData* data, |
+ int64_t* encoded_data_length) { |
LoadRequest(request, response, error, data); |
+ *encoded_data_length = data->size(); |
} |
void WebURLLoaderMockFactoryImpl::LoadAsynchronouly( |