From 86644543edfda907c82892ada47ba0a712bcbd3d Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 12 Jan 2015 16:53:43 -0800 Subject: [PATCH] Fix cpplint warning --- atom/browser/web_dialog_helper.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atom/browser/web_dialog_helper.cc b/atom/browser/web_dialog_helper.cc index 94b26d099d0..f6f23345358 100644 --- a/atom/browser/web_dialog_helper.cc +++ b/atom/browser/web_dialog_helper.cc @@ -61,13 +61,14 @@ void WebDialogHelper::RunFileChooser(content::WebContents* web_contents, params.default_file_name, file_dialog::Filters(), flags, - &paths)) + &paths)) { for (auto& path : paths) { content::FileChooserFileInfo info; info.file_path = path; info.display_name = path.BaseName().value(); result.push_back(info); } + } } web_contents->GetRenderViewHost()->FilesSelectedInChooser(