Remove base::Value::GetAsBinary

https://codereview.chromium.org/2839753005
This commit is contained in:
Aleksei Kuzmin 2017-08-04 23:33:21 +03:00 committed by Cheng Zhao
parent f847291272
commit ba2f33d629

View file

@ -41,7 +41,7 @@ void URLRequestBufferJob::StartAsync(std::unique_ptr<base::Value> options) {
dict->GetString("charset", &charset_);
dict->GetBinary("data", &binary);
} else if (options->IsType(base::Value::Type::BINARY)) {
options->GetAsBinary(&binary);
binary = options.get();
}
if (mime_type_.empty()) {