fix GetAsString maybe?

This commit is contained in:
Jeremy Rose 2021-03-22 14:47:24 -07:00
parent 74318705c2
commit ea62ecd188

View file

@ -63,8 +63,8 @@ bool GetAsString(const base::Value* val,
#if defined(OS_WIN) #if defined(OS_WIN)
bool GetAsString(const base::Value* val, bool GetAsString(const base::Value* val,
base::FilePath::StringPieceType path, base::StringPiece path,
std::u16string* out) { std::wstring* out) {
if (val) { if (val) {
auto* found = val->FindKeyOfType(path, base::Value::Type::STRING); auto* found = val->FindKeyOfType(path, base::Value::Type::STRING);
if (found) { if (found) {