| Index: webkit/default_plugin/plugin_impl.cc
|
| ===================================================================
|
| --- webkit/default_plugin/plugin_impl.cc (revision 5246)
|
| +++ webkit/default_plugin/plugin_impl.cc (working copy)
|
| @@ -618,10 +618,15 @@
|
| std::wstring file_path =
|
| reinterpret_cast<const wchar_t*>(download_file_info->lpData);
|
|
|
| + std::wstring current_directory =
|
| + file_util::GetDirectoryFromPath(file_path);
|
| +
|
| SHELLEXECUTEINFO shell_execute_info = {0};
|
| shell_execute_info.cbSize = sizeof(shell_execute_info);
|
| shell_execute_info.fMask = SEE_MASK_NOCLOSEPROCESS;
|
| shell_execute_info.lpFile = file_path.c_str();
|
| + shell_execute_info.lpDirectory = current_directory.c_str();
|
| + shell_execute_info.nShow = SW_SHOW;
|
|
|
| if (!ShellExecuteEx(&shell_execute_info)) {
|
| DLOG(WARNING) << "Failed to launch plugin installer "
|
|
|