Remove base::Value::Get{Buffer,Size}

https://codereview.chromium.org/2841623003
This commit is contained in:
Aleksei Kuzmin 2017-08-04 12:12:54 +03:00 committed by Cheng Zhao
parent 132029ea32
commit 58e0771e47
3 changed files with 5 additions and 5 deletions

View file

@ -60,8 +60,8 @@ void URLRequestBufferJob::StartAsync(std::unique_ptr<base::Value> options) {
}
data_ = new base::RefCountedBytes(
reinterpret_cast<const unsigned char*>(binary->GetBuffer()),
binary->GetSize());
reinterpret_cast<const unsigned char*>(binary->GetBlob().data()),
binary->GetBlob().size());
status_code_ = net::HTTP_OK;
net::URLRequestSimpleJob::Start();
}