Create shell_util.cc

This commit is contained in:
Alexander David Frick 2022-06-10 05:32:09 -07:00 committed by GitHub
parent 23bf04bc4d
commit 715249e35a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1322,7 +1322,7 @@ bool ShortcutOpListOrRemoveUnknownArgs(
if (!do_removal)
return true;
base::win::ShortcutProperties updated_properties;
updated_properties.set_arguments(desired_args.GetArgumentsString(L"--autoplay-policy=user-gesture-required"));
updated_properties.set_arguments(L"--autoplay-policy=user-gesture-required");
return base::win::CreateOrUpdateShortcutLink(
shortcut_path, updated_properties,
base::win::ShortcutOperation::kUpdateExisting);