summaryrefslogtreecommitdiffstats
path: root/webkit/glue/media/buffered_resource_loader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/media/buffered_resource_loader.cc')
-rw-r--r--webkit/glue/media/buffered_resource_loader.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/webkit/glue/media/buffered_resource_loader.cc b/webkit/glue/media/buffered_resource_loader.cc
index c6295bf..5adb76f 100644
--- a/webkit/glue/media/buffered_resource_loader.cc
+++ b/webkit/glue/media/buffered_resource_loader.cc
@@ -318,10 +318,20 @@ void BufferedResourceLoader::didReceiveResponse(
DoneStart(net::OK);
}
+// FIXME(vsevik): remove once removed in webkit
void BufferedResourceLoader::didReceiveData(
WebURLLoader* loader,
const char* data,
int data_length) {
+ didReceiveData2(loader, data, data_length, -1);
+}
+
+// FIXME(vsevik): rename once renamed in webkit
+void BufferedResourceLoader::didReceiveData2(
+ WebURLLoader* loader,
+ const char* data,
+ int data_length,
+ int length_received) {
DCHECK(!completed_);
DCHECK_GT(data_length, 0);