diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 14:12:10 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 14:12:10 +0000 |
commit | 5ca0c7f77d7f80b177be4868b1d5216e206bf885 (patch) | |
tree | a774d0929941033d95646e0377f324873866bdb6 /webkit/glue | |
parent | 87f2097b4aee30a2a310a9312800df8f562d7cd2 (diff) | |
download | chromium_src-5ca0c7f77d7f80b177be4868b1d5216e206bf885.zip chromium_src-5ca0c7f77d7f80b177be4868b1d5216e206bf885.tar.gz chromium_src-5ca0c7f77d7f80b177be4868b1d5216e206bf885.tar.bz2 |
Fix clang build.
TBR=vsevik
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/media/simple_data_source.cc | 3 | ||||
-rw-r--r-- | webkit/glue/media/simple_data_source.h | 3 | ||||
-rw-r--r-- | webkit/glue/media/simple_data_source_unittest.cc | 2 |
3 files changed, 5 insertions, 3 deletions
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)); |