Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SetKey instead of SetPath when path is a key (#635)
This is to avoid running into the DCHECK that Value::SetPath has to enforce that the std::initializer_list<StringPiece> path param has a length >= 2. The caller currently constructs an initializer list with only one object -- and SetPath() just calls SetKey() for the last object in the list -- so there shouldn't be any functional change here. b/268553897 Change-Id: I3df2cfec34ba61eaad2391c8baa1113ca999e14a
- Loading branch information