summaryrefslogtreecommitdiffstats
path: root/base/base_paths_posix.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-07 02:57:59 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-07 02:57:59 +0000
commit3ba7e0887015ba6a59579c4de08a6d609f851c23 (patch)
treed4b3ab95c9fa344346e2a1d3357916771587dcd1 /base/base_paths_posix.cc
parent3eac24a2b4c9438196899e62ac2f3ae5f03ba039 (diff)
downloadchromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.zip
chromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.tar.gz
chromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.tar.bz2
base: rename Environment::GetEnv to Environment::GetVar.
This is the part 4 and the latest of this series. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3029062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_paths_posix.cc')
-rw-r--r--base/base_paths_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/base_paths_posix.cc b/base/base_paths_posix.cc
index 8412009..45b397e 100644
--- a/base/base_paths_posix.cc
+++ b/base/base_paths_posix.cc
@@ -63,7 +63,7 @@ bool PathProviderPosix(int key, FilePath* result) {
// tree configurations (sub-project builds, gyp --output_dir, etc.)
scoped_ptr<base::Environment> env(base::Environment::Create());
std::string cr_source_root;
- if (env->GetEnv("CR_SOURCE_ROOT", &cr_source_root)) {
+ if (env->GetVar("CR_SOURCE_ROOT", &cr_source_root)) {
path = FilePath(cr_source_root);
if (file_util::PathExists(path.Append("base/base_paths_posix.cc"))) {
*result = path;