Replace RemoveWithoutPathExpansion(.*, nullptr) with Value::RemoveKey()
DictionaryValue::RemoveWithoutPathExpansion() is deprecated. For the case where nullptr is passed for the output argument, Value::RemoveKey() is a trivial replacement. Mostly done with the following command line, plus a bit of finesse: % git grep -l RemoveWithoutPathExpansion | \ xargs sed -E -i 's/RemoveWithoutPathExpansion\((.*), nullptr/RemoveKey\(\1/g' Bug: 646113 This CL was uploaded by git cl split. R=rdevlin.cronin@chromium.org Change-Id: Ic1fa9cea86ab7c6106af4db2837d773aaf8dac6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298859 Auto-Submit: Anand K Mistry <amistry@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#788748}
Showing
Please register or sign in to comment