Fix -Wloop-analysis: fuchsia/
This has no effect on performance; it makes explicit a lifetime extension of a temp that was already occurring. Bug: 1223264 Change-Id: I99f6862d31ce32e0c3ce0ccdb60f759b8598db29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3023551 Commit-Queue: Peter Kasting <pkasting@chromium.org> Commit-Queue: Wez <wez@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#901003}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
ad81f9782b
commit
c1a0ce6f3f
@ -373,7 +373,7 @@ bool MaybeAddCommandLineArgsFromConfig(const base::Value& config,
|
||||
switches::kWebglMSAASampleCount,
|
||||
};
|
||||
|
||||
for (const auto& arg : args->DictItems()) {
|
||||
for (const auto arg : args->DictItems()) {
|
||||
if (!base::Contains(kAllowedArgs, arg.first)) {
|
||||
// TODO(https://crbug.com/1032439): Increase severity and return false
|
||||
// once we have a mechanism for soft transitions of supported arguments.
|
||||
|
Reference in New Issue
Block a user