diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 02:22:58 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-15 02:22:58 +0000 |
commit | d1e2779bf10ba02eb1ac7a64b9b2386776112b8f (patch) | |
tree | 540144649d6c4c37091b718da9284505d59c9422 /chrome_frame/chrome_tab.cc | |
parent | f7f237cf58c1e7575f784d7f0aa829cb51fbb9f4 (diff) | |
download | chromium_src-d1e2779bf10ba02eb1ac7a64b9b2386776112b8f.zip chromium_src-d1e2779bf10ba02eb1ac7a64b9b2386776112b8f.tar.gz chromium_src-d1e2779bf10ba02eb1ac7a64b9b2386776112b8f.tar.bz2 |
Chrome frame compile fix, take 2.
tbr=nsylvain
Review URL: http://codereview.chromium.org/274063
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_tab.cc')
-rw-r--r-- | chrome_frame/chrome_tab.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome_frame/chrome_tab.cc b/chrome_frame/chrome_tab.cc index 923d957d8..601ef06 100644 --- a/chrome_frame/chrome_tab.cc +++ b/chrome_frame/chrome_tab.cc @@ -61,10 +61,10 @@ class ChromeTabModule } if (SUCCEEDED(hr)) { - std::wstring app_path( - chrome_launcher::GetChromeExecutablePath()); - app_path = file_util::GetDirectoryFromPath(app_path); - hr = registrar->AddReplacement(L"CHROME_APPPATH", app_path.c_str()); + FilePath app_path = + chrome_launcher::GetChromeExecutablePath().DirName(); + hr = registrar->AddReplacement(L"CHROME_APPPATH", + app_path.value().c_str()); DCHECK(SUCCEEDED(hr)); } |