Index: chrome/test/ui/ui_test_suite.cc |
diff --git a/chrome/test/ui/ui_test_suite.cc b/chrome/test/ui/ui_test_suite.cc |
index 5ba7f1f451bd0e13cdeeed629226f2e5dce593ea..934a8e9d36e945a05ff914e35d9b5165271955d8 100644 |
--- a/chrome/test/ui/ui_test_suite.cc |
+++ b/chrome/test/ui/ui_test_suite.cc |
@@ -115,7 +115,7 @@ void UITestSuite::SuppressErrorDialogs() { |
#if defined(OS_WIN) |
void UITestSuite::LoadCrashService() { |
scoped_ptr<base::Environment> env(base::Environment::Create()); |
- if (env->HasEnv(env_vars::kHeadless)) |
+ if (env->HasVar(env_vars::kHeadless)) |
return; |
if (base::GetProcessCount(L"crash_service.exe", NULL)) |