Index: chrome_frame/chrome_tab.cc |
=================================================================== |
--- chrome_frame/chrome_tab.cc (revision 29084) |
+++ chrome_frame/chrome_tab.cc (working copy) |
@@ -61,10 +61,10 @@ |
} |
if (SUCCEEDED(hr)) { |
- FilePath app_path = |
- chrome_launcher::GetChromeExecutablePath().DirName(); |
- hr = registrar->AddReplacement(L"CHROME_APPPATH", |
- app_path.value().c_str()); |
+ std::wstring app_path( |
+ chrome_launcher::GetChromeExecutablePath()); |
+ app_path = file_util::GetDirectoryFromPath(app_path); |
+ hr = registrar->AddReplacement(L"CHROME_APPPATH", app_path.c_str()); |
DCHECK(SUCCEEDED(hr)); |
} |