diff options
author | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-31 22:35:04 +0000 |
---|---|---|
committer | alexeypa@chromium.org <alexeypa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-31 22:35:04 +0000 |
commit | 23d0ee4627095263fc4c4115c19ce938ddee4350 (patch) | |
tree | 45702bcef4e0e896fd6783e277cdabddb0ba1b99 /remoting/host/sas_injector_win.cc | |
parent | a70b4351630e0fdc740b1e4b212da5b2eaf4060b (diff) | |
download | chromium_src-23d0ee4627095263fc4c4115c19ce938ddee4350.zip chromium_src-23d0ee4627095263fc4c4115c19ce938ddee4350.tar.gz chromium_src-23d0ee4627095263fc4c4115c19ce938ddee4350.tar.bz2 |
Removing --host-binary parameter in preparation to the coming me2me host refactoring.
Review URL: https://chromiumcodereview.appspot.com/10832054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/sas_injector_win.cc')
-rw-r--r-- | remoting/host/sas_injector_win.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/remoting/host/sas_injector_win.cc b/remoting/host/sas_injector_win.cc index a336770..0bf453f 100644 --- a/remoting/host/sas_injector_win.cc +++ b/remoting/host/sas_injector_win.cc @@ -131,14 +131,14 @@ bool SasInjectorWin::InjectSas() { // Load sas.dll. The library is expected to be in the same folder as this // binary. if (!sas_dll_.is_valid()) { - FilePath exe_path; - if (!PathService::Get(base::FILE_EXE, &exe_path)) { + FilePath dir_path; + if (!PathService::Get(base::DIR_EXE, &dir_path)) { LOG(ERROR) << "Failed to get the executable file name."; return false; } - sas_dll_.Reset(base::LoadNativeLibrary( - exe_path.DirName().Append(kSasDllFileName), NULL)); + sas_dll_.Reset(base::LoadNativeLibrary(dir_path.Append(kSasDllFileName), + NULL)); } if (!sas_dll_.is_valid()) { LOG(ERROR) << "Failed to load '" << kSasDllFileName << "'"; |