summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_process_host.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:00:11 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-13 23:00:11 +0000
commitba4c78e5b07788094ec02c6a1b44eebd7a727926 (patch)
tree96cf69e6fcc2c1fc4eb3c1eda5ffc9a30cafbfcb /chrome/browser/plugin_process_host.cc
parente9403ab1516c5ada016249c1c124485640c2ae8f (diff)
downloadchromium_src-ba4c78e5b07788094ec02c6a1b44eebd7a727926.zip
chromium_src-ba4c78e5b07788094ec02c6a1b44eebd7a727926.tar.gz
chromium_src-ba4c78e5b07788094ec02c6a1b44eebd7a727926.tar.bz2
Use FilePath in ChildProcessHost.
BUG=24672 TEST=still compiles Review URL: http://codereview.chromium.org/270077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_process_host.cc')
-rw-r--r--chrome/browser/plugin_process_host.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc
index 525e640..1fe75af 100644
--- a/chrome/browser/plugin_process_host.cc
+++ b/chrome/browser/plugin_process_host.cc
@@ -357,10 +357,9 @@ bool PluginProcessHost::Init(const WebPluginInfo& info,
// Build command line for plugin, we have to quote the plugin's path to deal
// with spaces.
- std::wstring exe_path = GetChildPath();
- if (exe_path.empty()) {
+ FilePath exe_path = GetChildPath();
+ if (exe_path.empty())
return false;
- }
CommandLine cmd_line(exe_path);
// Put the process type and plugin path first so they're easier to see