summaryrefslogtreecommitdiffstats
path: root/webkit/support/weburl_loader_mock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/support/weburl_loader_mock.cc')
-rw-r--r--webkit/support/weburl_loader_mock.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/support/weburl_loader_mock.cc b/webkit/support/weburl_loader_mock.cc
index caeed5d..d98660b 100644
--- a/webkit/support/weburl_loader_mock.cc
+++ b/webkit/support/weburl_loader_mock.cc
@@ -29,7 +29,8 @@ void WebURLLoaderMock::ServeAsynchronousRequest(
return;
client_->didReceiveResponse(this, response);
- client_->didReceiveData(this, data.data(), data.size());
+ // FIXME(vsevik): rename didReceiveData2 once renamed in webkit
+ client_->didReceiveData2(this, data.data(), data.size(), data.size());
client_->didFinishLoading(this, 0);
}