From: Cheng Zhao Date: Tue, 13 Jan 2015 00:53:43 +0000 (-0800) Subject: Fix cpplint warning X-Git-Tag: v0.21.0~1^2~12 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=86644543edfda907c82892ada47ba0a712bcbd3d;p=electron.git Fix cpplint warning --- diff --git a/atom/browser/web_dialog_helper.cc b/atom/browser/web_dialog_helper.cc index 94b26d09..f6f23345 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(