Index: extensions/browser/api/webcam_private/webcam_private_api_chromeos.cc |
diff --git a/extensions/browser/api/webcam_private/webcam_private_api_chromeos.cc b/extensions/browser/api/webcam_private/webcam_private_api_chromeos.cc |
index 7e768073e2f9e9f96cd4c9b6595f0a1f30e33b6b..05457ce265d6fc3d14bb7d33cf312b2abfefa4cd 100644 |
--- a/extensions/browser/api/webcam_private/webcam_private_api_chromeos.cc |
+++ b/extensions/browser/api/webcam_private/webcam_private_api_chromeos.cc |
@@ -120,9 +120,7 @@ bool WebcamPrivateAPI::GetDeviceId(const std::string& extension_id, |
return content::GetMediaDeviceIDForHMAC( |
content::MEDIA_DEVICE_VIDEO_CAPTURE, |
- browser_context_->GetResourceContext()->GetMediaDeviceIDSalt(), |
- security_origin, |
- webcam_id, |
+ browser_context_->GetMediaDeviceIDSalt(), security_origin, webcam_id, |
device_id); |
} |
@@ -132,8 +130,7 @@ std::string WebcamPrivateAPI::GetWebcamId(const std::string& extension_id, |
extensions::Extension::GetBaseURLFromExtensionId(extension_id)); |
return content::GetHMACForMediaDeviceID( |
- browser_context_->GetResourceContext()->GetMediaDeviceIDSalt(), |
- security_origin, device_id); |
+ browser_context_->GetMediaDeviceIDSalt(), security_origin, device_id); |
} |
WebcamResource* WebcamPrivateAPI::FindWebcamResource( |