Fix cpplint warning
This commit is contained in:
parent
a9c720969f
commit
86644543ed
1 changed files with 2 additions and 1 deletions
|
@ -61,13 +61,14 @@ void WebDialogHelper::RunFileChooser(content::WebContents* web_contents,
|
||||||
params.default_file_name,
|
params.default_file_name,
|
||||||
file_dialog::Filters(),
|
file_dialog::Filters(),
|
||||||
flags,
|
flags,
|
||||||
&paths))
|
&paths)) {
|
||||||
for (auto& path : paths) {
|
for (auto& path : paths) {
|
||||||
content::FileChooserFileInfo info;
|
content::FileChooserFileInfo info;
|
||||||
info.file_path = path;
|
info.file_path = path;
|
||||||
info.display_name = path.BaseName().value();
|
info.display_name = path.BaseName().value();
|
||||||
result.push_back(info);
|
result.push_back(info);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
web_contents->GetRenderViewHost()->FilesSelectedInChooser(
|
web_contents->GetRenderViewHost()->FilesSelectedInChooser(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue