Index: media/audio/audio_output_controller_unittest.cc |
diff --git a/media/audio/audio_output_controller_unittest.cc b/media/audio/audio_output_controller_unittest.cc |
index e64a00f3aa3073fb697ed35259f414f74a2dda6b..a68571a640d326fa8c7a9534d0b5b8c620991312 100644 |
--- a/media/audio/audio_output_controller_unittest.cc |
+++ b/media/audio/audio_output_controller_unittest.cc |
@@ -63,7 +63,7 @@ static bool HasAudioOutputDevices() { |
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; |
} |