Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3105)

Unified Diff: base/base_paths_posix.cc

Issue 3029062: base: rename Environment::GetEnv to Environment::GetVar. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/environment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths_posix.cc
diff --git a/base/base_paths_posix.cc b/base/base_paths_posix.cc
index 84120097d6f1f4668fbfd3d386a4b271f31474c2..45b397ee90130cf9dc1d94a1d65fb00a23f7a07e 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;
« no previous file with comments | « no previous file | base/environment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698