From ea62ecd1886ea20760f58d65ae452bd5d95614aa Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Mon, 22 Mar 2021 14:47:24 -0700 Subject: [PATCH] fix GetAsString maybe? --- shell/browser/web_contents_preferences.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/browser/web_contents_preferences.cc b/shell/browser/web_contents_preferences.cc index 99bd72be8c..a02fadfc6a 100644 --- a/shell/browser/web_contents_preferences.cc +++ b/shell/browser/web_contents_preferences.cc @@ -63,8 +63,8 @@ bool GetAsString(const base::Value* val, #if defined(OS_WIN) bool GetAsString(const base::Value* val, - base::FilePath::StringPieceType path, - std::u16string* out) { + base::StringPiece path, + std::wstring* out) { if (val) { auto* found = val->FindKeyOfType(path, base::Value::Type::STRING); if (found) {