mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 99.0.4844.0 (#961656)
This commit is contained in:
@@ -77,8 +77,8 @@ void CefDevToolsFileManager::Save(const std::string& url,
|
||||
return;
|
||||
}
|
||||
|
||||
const base::DictionaryValue* file_map =
|
||||
prefs_->GetDictionary(prefs::kDevToolsEditedFiles);
|
||||
const base::DictionaryValue* file_map = &base::Value::AsDictionaryValue(
|
||||
*prefs_->GetDictionary(prefs::kDevToolsEditedFiles));
|
||||
base::FilePath initial_path;
|
||||
|
||||
const base::Value* path_value;
|
||||
@@ -144,7 +144,7 @@ void CefDevToolsFileManager::SaveAsFileSelected(const std::string& url,
|
||||
saved_files_[url] = path;
|
||||
|
||||
DictionaryPrefUpdate update(prefs_, prefs::kDevToolsEditedFiles);
|
||||
base::DictionaryValue* files_map = update.Get();
|
||||
base::Value* files_map = update.Get();
|
||||
files_map->SetKey(base::MD5String(url), base::FilePathToValue(path));
|
||||
std::string file_system_path = path.AsUTF8Unsafe();
|
||||
std::move(callback).Run(file_system_path);
|
||||
|
Reference in New Issue
Block a user