Remove base::Value::IsType
https://chromium-review.googlesource.com/659798
This commit is contained in:
parent
48c3340d95
commit
a315d6330c
8 changed files with 13 additions and 13 deletions
|
@ -109,7 +109,7 @@ void URLRequestFetchJob::BeforeStartInUI(v8::Isolate* isolate,
|
|||
}
|
||||
|
||||
void URLRequestFetchJob::StartAsync(std::unique_ptr<base::Value> options) {
|
||||
if (!options->IsType(base::Value::Type::DICTIONARY)) {
|
||||
if (!options->is_dict()) {
|
||||
NotifyStartError(net::URLRequestStatus(net::URLRequestStatus::FAILED,
|
||||
net::ERR_NOT_IMPLEMENTED));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue