Index: chrome/browser/printing/printer_manager_dialog_linux.cc |
diff --git a/chrome/browser/printing/printer_manager_dialog_linux.cc b/chrome/browser/printing/printer_manager_dialog_linux.cc |
index 61cea9d9e1e8c20bafc0c02883b5451003d567f6..02b262c80a9f9886e7f85ddd4000044357940309 100644 |
--- a/chrome/browser/printing/printer_manager_dialog_linux.cc |
+++ b/chrome/browser/printing/printer_manager_dialog_linux.cc |
@@ -47,9 +47,10 @@ void DetectAndOpenPrinterConfigDialog() { |
std::vector<std::string> argv; |
argv.push_back(command); |
- base::file_handle_mapping_vector no_files; |
+ base::LaunchOptions options; |
base::ProcessHandle handle; |
- if (!base::LaunchApp(argv, no_files, false, &handle)) { |
+ options.process_handle = &handle; |
+ if (!base::LaunchProcess(argv, options)) { |
LOG(ERROR) << "Failed to open printer manager dialog "; |
return; |
} |