]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix cpplint warning
authorCheng Zhao <zcbenz@gmail.com>
Tue, 13 Jan 2015 00:53:43 +0000 (16:53 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 27 Jan 2015 21:18:31 +0000 (13:18 -0800)
atom/browser/web_dialog_helper.cc

index 94b26d099d096b215b4871ba78cd5ac5523c6028..f6f233453582171e10a52705e3f98ff9dea29565 100644 (file)
@@ -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(