Index: chrome/browser/renderer_host/audio_renderer_host_unittest.cc |
diff --git a/chrome/browser/renderer_host/audio_renderer_host_unittest.cc b/chrome/browser/renderer_host/audio_renderer_host_unittest.cc |
index 6a428d49d62e76ba3676c3c9b9bf903c48d9f441..f86cbdc9e8233a452d344d92294fcb156f9f9ca7 100644 |
--- a/chrome/browser/renderer_host/audio_renderer_host_unittest.cc |
+++ b/chrome/browser/renderer_host/audio_renderer_host_unittest.cc |
@@ -30,7 +30,7 @@ static const int kStreamId = 50; |
static bool IsRunningHeadless() { |
scoped_ptr<base::Environment> env(base::Environment::Create()); |
- if (env->HasEnv("CHROME_HEADLESS")) |
+ if (env->HasVar("CHROME_HEADLESS")) |
return true; |
return false; |
} |