diff --git a/build/patches/00111-ADDTO-Experimental-user-scripts-support.patch b/build/patches/00111-ADDTO-Experimental-user-scripts-support.patch index 5872e1dc..f3721371 100644 --- a/build/patches/00111-ADDTO-Experimental-user-scripts-support.patch +++ b/build/patches/00111-ADDTO-Experimental-user-scripts-support.patch @@ -128,8 +128,8 @@ diff --git a/components/user_scripts/browser/user_script_prefs.cc b/components/u + std::unique_ptr<::prefs::DictionaryValueUpdate> dict = + ScopedDictionaryPrefUpdate::Get(); + std::unique_ptr<::prefs::DictionaryValueUpdate> dict_item; -+ if (!dict->GetDictionary(id_, &dict_item)) { -+ dict_item = dict->SetDictionary(id_, base::Value::Dict()); ++ if (!dict->GetDictionaryWithoutPathExpansion(id_, &dict_item)) { ++ dict_item = dict->SetDictionaryWithoutPathExpansion(id_, base::Value::Dict()); + } return dict_item; }