| Index: chrome/browser/media/protected_media_identifier_permission_context.cc
|
| diff --git a/chrome/browser/media/protected_media_identifier_permission_context.cc b/chrome/browser/media/protected_media_identifier_permission_context.cc
|
| index 112e7641462fd833f75d95e37bb1acc2b9081fd0..ba3b06412aff03fcb5665e5c95d802af5c3d9b1f 100644
|
| --- a/chrome/browser/media/protected_media_identifier_permission_context.cc
|
| +++ b/chrome/browser/media/protected_media_identifier_permission_context.cc
|
| @@ -165,8 +165,8 @@ void ProtectedMediaIdentifierPermissionContext::UpdateTabContext(
|
|
|
| // WebContents may have gone away.
|
| TabSpecificContentSettings* content_settings =
|
| - TabSpecificContentSettings::Get(id.render_process_id(),
|
| - id.render_view_id());
|
| + TabSpecificContentSettings::GetForFrame(id.render_process_id(),
|
| + id.render_frame_id());
|
| if (content_settings) {
|
| content_settings->OnProtectedMediaIdentifierPermissionSet(
|
| requesting_frame.GetOrigin(), allowed);
|
|
|