Fix API changes of base::Value
This commit is contained in:
parent
9d1b88ed59
commit
50e3bfa764
21 changed files with 55 additions and 55 deletions
|
@ -181,7 +181,7 @@ bool Archive::Init() {
|
|||
std::string error;
|
||||
base::JSONReader reader;
|
||||
std::unique_ptr<base::Value> value(reader.ReadToValue(header));
|
||||
if (!value || !value->IsType(base::Value::TYPE::DICTIONARY)) {
|
||||
if (!value || !value->IsType(base::Value::Type::DICTIONARY)) {
|
||||
LOG(ERROR) << "Failed to parse header: " << error;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue