Some manual change to for-ranged loop.
Use "const auto&" where possible.
This commit is contained in:
parent
2717b96310
commit
4ac4dacffe
8 changed files with 9 additions and 8 deletions
|
@ -435,7 +435,7 @@ void CommonWebContentsDelegate::DevToolsRequestFileSystems() {
|
|||
}
|
||||
|
||||
base::ListValue file_system_value;
|
||||
for (auto& file_system : file_systems)
|
||||
for (const auto& file_system : file_systems)
|
||||
file_system_value.Append(CreateFileSystemValue(file_system));
|
||||
web_contents_->CallClientFunction("DevToolsAPI.fileSystemsLoaded",
|
||||
&file_system_value, nullptr, nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue