Index: chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc |
diff --git a/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc b/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc |
index 53fa13bec9eecc6f39185c274fd7ab094759462e..4bd6a7bcb2f7d56ca0ef4b93c45645e4248ecb2a 100644 |
--- a/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc |
+++ b/chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_browsertest.cc |
@@ -155,7 +155,7 @@ IN_PROC_BROWSER_TEST_F(WebrtcAudioPrivateTest, GetSinks) { |
media::AudioDeviceDescription::IsDefaultDevice(it->unique_id) |
? media::AudioDeviceDescription::kDefaultDeviceId |
: content::GetHMACForMediaDeviceID( |
- profile()->GetResourceContext()->GetMediaDeviceIDSalt(), |
+ profile()->GetMediaDeviceIDSalt(), |
url::Origin(source_url_.GetOrigin()), it->unique_id); |
EXPECT_EQ(expected_id, sink_id); |
@@ -189,8 +189,7 @@ IN_PROC_BROWSER_TEST_F(WebrtcAudioPrivateTest, GetAssociatedSink) { |
VLOG(2) << "Trying to find associated sink for device " << raw_device_id; |
GURL origin(GURL("http://www.google.com/").GetOrigin()); |
std::string source_id_in_origin = content::GetHMACForMediaDeviceID( |
- profile()->GetResourceContext()->GetMediaDeviceIDSalt(), |
- url::Origin(origin), raw_device_id); |
+ profile()->GetMediaDeviceIDSalt(), url::Origin(origin), raw_device_id); |
base::ListValue parameters; |
parameters.AppendString(origin.spec()); |