summaryrefslogtreecommitdiffstats
path: root/webkit/glue/resource_fetcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/resource_fetcher.cc')
-rw-r--r--webkit/glue/resource_fetcher.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/glue/resource_fetcher.cc b/webkit/glue/resource_fetcher.cc
index 39cc59c..b0ee667 100644
--- a/webkit/glue/resource_fetcher.cc
+++ b/webkit/glue/resource_fetcher.cc
@@ -84,8 +84,16 @@ void ResourceFetcher::didReceiveResponse(
response_ = response;
}
+// FIXME(vsevik): remove once removed in webkit
void ResourceFetcher::didReceiveData(
WebURLLoader* loader, const char* data, int data_length) {
+ didReceiveData2(loader, data, data_length, -1);
+}
+
+// FIXME(vsevik): rename once renamed in webkit
+void ResourceFetcher::didReceiveData2(
+ WebURLLoader* loader, const char* data, int data_length,
+ int length_received) {
DCHECK(!completed_);
DCHECK(data_length > 0);