From 5ca0c7f77d7f80b177be4868b1d5216e206bf885 Mon Sep 17 00:00:00 2001 From: "pfeldman@chromium.org" Date: Thu, 7 Apr 2011 14:12:10 +0000 Subject: Fix clang build. TBR=vsevik git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80774 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/media/simple_data_source.cc | 3 ++- webkit/glue/media/simple_data_source.h | 3 ++- webkit/glue/media/simple_data_source_unittest.cc | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'webkit/glue') diff --git a/webkit/glue/media/simple_data_source.cc b/webkit/glue/media/simple_data_source.cc index 4b2281d..45befa0 100644 --- a/webkit/glue/media/simple_data_source.cc +++ b/webkit/glue/media/simple_data_source.cc @@ -183,7 +183,8 @@ void SimpleDataSource::didDownloadData( void SimpleDataSource::didReceiveData( WebKit::WebURLLoader* loader, const char* data, - int data_length) { + int data_length, + int raw_data_length) { DCHECK(MessageLoop::current() == render_loop_); data_.append(data, data_length); } diff --git a/webkit/glue/media/simple_data_source.h b/webkit/glue/media/simple_data_source.h index 3ecd5bb..3993f3b 100644 --- a/webkit/glue/media/simple_data_source.h +++ b/webkit/glue/media/simple_data_source.h @@ -74,7 +74,8 @@ class SimpleDataSource : public WebDataSource, virtual void didReceiveData( WebKit::WebURLLoader* loader, const char* data, - int dataLength); + int dataLength, + int rawDataLength); virtual void didReceiveCachedMetadata( WebKit::WebURLLoader* loader, const char* data, int dataLength); diff --git a/webkit/glue/media/simple_data_source_unittest.cc b/webkit/glue/media/simple_data_source_unittest.cc index d3177ae..61e41f2 100644 --- a/webkit/glue/media/simple_data_source_unittest.cc +++ b/webkit/glue/media/simple_data_source_unittest.cc @@ -86,7 +86,7 @@ class SimpleDataSourceTest : public testing::Test { EXPECT_EQ(kDataSize, size); for (int i = 0; i < kDataSize; ++i) { - data_source_->didReceiveData(NULL, data_ + i, 1); + data_source_->didReceiveData(NULL, data_ + i, 1, 1); } EXPECT_CALL(host_, SetLoaded(is_loaded)); -- cgit v1.1