fix ambiguous constructor call

This commit is contained in:
deepak1556 2016-08-23 14:04:03 +05:30
parent be4bc6b7ef
commit 5cbc8d5c71

View file

@ -369,7 +369,7 @@ void DidCalculateBlobSize(
uint64_t total_size = blob_reader->total_size();
int bytes_read = 0;
scoped_refptr<net::IOBuffer> blob_data =
new net::IOBuffer(total_size);
new net::IOBuffer(static_cast<size_t>(total_size));
net::CompletionCallback callback = base::Bind(&DidReadBlobData,
base::RetainedRef(blob_data),
completion_callback);