Index: chrome/test/automated_ui_tests/automated_ui_tests.cc |
diff --git a/chrome/test/automated_ui_tests/automated_ui_tests.cc b/chrome/test/automated_ui_tests/automated_ui_tests.cc |
index 77726e07fc6d8d5c821ac26c0b8296375e128028..1aad5757175379dd3eac56edbfdf234facb573fe 100644 |
--- a/chrome/test/automated_ui_tests/automated_ui_tests.cc |
+++ b/chrome/test/automated_ui_tests/automated_ui_tests.cc |
@@ -132,7 +132,7 @@ AutomatedUITest::AutomatedUITest() |
} |
} |
scoped_ptr<base::Environment> env(base::Environment::Create()); |
- if (env->HasEnv(env_vars::kHeadless)) |
+ if (env->HasVar(env_vars::kHeadless)) |
logging::SetLogReportHandler(SilentRuntimeReportHandler); |
} |