summaryrefslogtreecommitdiffstats
path: root/webkit/support
diff options
context:
space:
mode:
authorvsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 19:01:48 +0000
committervsevik@chromium.org <vsevik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 19:01:48 +0000
commitc7d5601fa3df36215e46de17d5699b40bce82fa4 (patch)
tree351e51d291a64939e25a14a6e78f2ec9f88e3906 /webkit/support
parentc4bc58d55fb1b29f69fc1bccc93b74e56c99b010 (diff)
downloadchromium_src-c7d5601fa3df36215e46de17d5699b40bce82fa4.zip
chromium_src-c7d5601fa3df36215e46de17d5699b40bce82fa4.tar.gz
chromium_src-c7d5601fa3df36215e46de17d5699b40bce82fa4.tar.bz2
Migrated chromium to new didReceiveData method in WebURLLoaderClient
BUG=40502 Review URL: http://codereview.chromium.org/6737026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support')
-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);
}