| Index: third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
|
| diff --git a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
|
| index 3244d38e10c9e73f7de3ac70c7c4dc2876b6421c..588fd5d1b9ebc617f40c7c95d724698bc12fdc97 100644
|
| --- a/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
|
| +++ b/third_party/WebKit/Source/platform/testing/weburl_loader_mock.cc
|
| @@ -103,16 +103,19 @@ WebURLRequest WebURLLoaderMock::ServeRedirect(
|
| void WebURLLoaderMock::loadSynchronously(const WebURLRequest& request,
|
| WebURLResponse& response,
|
| WebURLError& error,
|
| - WebData& data) {
|
| + WebData& data,
|
| + int64_t& encoded_data_length) {
|
| if (factory_->IsMockedURL(request.url())) {
|
| - factory_->LoadSynchronously(request, &response, &error, &data);
|
| + factory_->LoadSynchronously(request, &response, &error, &data,
|
| + &encoded_data_length);
|
| return;
|
| }
|
| DCHECK(KURL(request.url()).protocolIsData())
|
| << "loadSynchronously shouldn't be falling back: "
|
| << request.url().string().utf8();
|
| using_default_loader_ = true;
|
| - default_loader_->loadSynchronously(request, response, error, data);
|
| + default_loader_->loadSynchronously(request, response, error, data,
|
| + encoded_data_length);
|
| }
|
|
|
| void WebURLLoaderMock::loadAsynchronously(const WebURLRequest& request,
|
|
|