summaryrefslogtreecommitdiffstats
path: root/media/audio/audio_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio/audio_manager_unittest.cc')
-rw-r--r--media/audio/audio_manager_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/media/audio/audio_manager_unittest.cc b/media/audio/audio_manager_unittest.cc
index 9fb0182..48bb51c 100644
--- a/media/audio/audio_manager_unittest.cc
+++ b/media/audio/audio_manager_unittest.cc
@@ -81,7 +81,8 @@ class AudioManagerTest : public ::testing::Test {
AudioDeviceNames::const_iterator it = device_names.begin();
// The first device in the list should always be the default device.
- EXPECT_EQ(AudioManager::GetDefaultDeviceName(), it->device_name);
+ EXPECT_EQ(std::string(AudioManagerBase::kDefaultDeviceName),
+ it->device_name);
EXPECT_EQ(std::string(AudioManagerBase::kDefaultDeviceId), it->unique_id);
++it;
@@ -92,7 +93,8 @@ class AudioManagerTest : public ::testing::Test {
EXPECT_FALSE(it->unique_id.empty());
DVLOG(2) << "Device ID(" << it->unique_id
<< "), label: " << it->device_name;
- EXPECT_NE(AudioManager::GetDefaultDeviceName(), it->device_name);
+ EXPECT_NE(std::string(AudioManagerBase::kDefaultDeviceName),
+ it->device_name);
EXPECT_NE(std::string(AudioManagerBase::kDefaultDeviceId),
it->unique_id);
++it;