Index: chrome/common/chrome_plugin_util.cc |
=================================================================== |
--- chrome/common/chrome_plugin_util.cc (revision 29088) |
+++ chrome/common/chrome_plugin_util.cc (working copy) |
@@ -131,7 +131,7 @@ |
if (!user_data_dir.empty()) { |
// Make sure user_data_dir is an absolute path. |
if (file_util::AbsolutePath(&user_data_dir) && |
- file_util::PathExists(user_data_dir)) { |
+ file_util::PathExists(FilePath::FromWStringHack(user_data_dir))) { |
// TODO(evanm): use CommandLine APIs instead of this. |
arguments_w += std::wstring(L"--") + ASCIIToWide(switches::kUserDataDir) + |
L"=\"" + user_data_dir + L"\" "; |