summaryrefslogtreecommitdiffstats
path: root/courgette
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 /courgette
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 'courgette')
-rw-r--r--courgette/encoded_program.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/courgette/encoded_program.cc b/courgette/encoded_program.cc
index eb3dcda..56290c77 100644
--- a/courgette/encoded_program.cc
+++ b/courgette/encoded_program.cc
@@ -268,7 +268,7 @@ static FieldSelect GetFieldSelect() {
// TODO(sra): Use better configuration.
scoped_ptr<base::Environment> env(base::Environment::Create());
std::string s;
- env->GetEnv("A_FIELDS", &s);
+ env->GetVar("A_FIELDS", &s);
if (!s.empty()) {
return static_cast<FieldSelect>(wcstoul(ASCIIToWide(s).c_str(), 0, 0));
}