diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 01:59:15 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 01:59:15 +0000 |
commit | cdb70a70ad4c6076fff85effeb61cfaef2bac429 (patch) | |
tree | c685fa64707262a40d5f11cf67aea4f9ea1d120b /chrome/common | |
parent | b88a291b41a2232943116c95c215442be3d5f24e (diff) | |
download | chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.zip chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.tar.gz chromium_src-cdb70a70ad4c6076fff85effeb61cfaef2bac429.tar.bz2 |
Remove some deprecated file_util wstring functions.
death to the wstring
TEST=trybots
BUG=none
Review URL: http://codereview.chromium.org/276016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29078 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_plugin_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_plugin_util.cc b/chrome/common/chrome_plugin_util.cc index 809e4e6..4643a87 100644 --- a/chrome/common/chrome_plugin_util.cc +++ b/chrome/common/chrome_plugin_util.cc @@ -131,7 +131,7 @@ CPError CPB_GetCommandLineArgumentsCommon(const char* url, 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"\" "; |