diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 23:43:20 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 23:43:20 +0000 |
commit | 9432ade948544ddd1c0c982cc1201e06061e8bb3 (patch) | |
tree | 9c9c40c596e199cc738b2e09ad074f03f2e1b8c4 /media | |
parent | 3a77e46f0b4616c4f2a33b76cdb0de75dfb8a5d5 (diff) | |
download | chromium_src-9432ade948544ddd1c0c982cc1201e06061e8bb3.zip chromium_src-9432ade948544ddd1c0c982cc1201e06061e8bb3.tar.gz chromium_src-9432ade948544ddd1c0c982cc1201e06061e8bb3.tar.bz2 |
base: rename Environment::HasEnv to Environment::HasVar.
This is the part 2 of this series. More two comming. Splitting this
into small parts, so it is more easy to review and reduce the size of the CL.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/3035050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/audio/audio_output_controller_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/audio/audio_output_controller_unittest.cc b/media/audio/audio_output_controller_unittest.cc index e64a00f..a68571a 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; } |