summaryrefslogtreecommitdiffstats
path: root/courgette
diff options
context:
space:
mode:
Diffstat (limited to 'courgette')
-rw-r--r--courgette/encoded_program.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/courgette/encoded_program.cc b/courgette/encoded_program.cc
index 71bd65a..a83972f 100644
--- a/courgette/encoded_program.cc
+++ b/courgette/encoded_program.cc
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
-#include "base/env_var.h"
+#include "base/environment.h"
#include "base/logging.h"
#include "base/scoped_ptr.h"
#include "base/string_util.h"
@@ -266,7 +266,7 @@ enum FieldSelect {
static FieldSelect GetFieldSelect() {
#if 1
// TODO(sra): Use better configuration.
- scoped_ptr<base::EnvVarGetter> env(base::EnvVarGetter::Create());
+ scoped_ptr<base::Environment> env(base::Environment::Create());
std::string s;
env->GetEnv("A_FIELDS", &s);
if (!s.empty()) {