Index: chrome/browser/permissions/grouped_permission_infobar_delegate.cc |
diff --git a/chrome/browser/permissions/grouped_permission_infobar_delegate.cc b/chrome/browser/permissions/grouped_permission_infobar_delegate.cc |
index 46795c43fa3350fc94c9536e35f385514b60bdf6..cd0a8a10f0ef56dbfcf611f214664c71cad26773 100644 |
--- a/chrome/browser/permissions/grouped_permission_infobar_delegate.cc |
+++ b/chrome/browser/permissions/grouped_permission_infobar_delegate.cc |
@@ -71,7 +71,9 @@ base::string16 GroupedPermissionInfoBarDelegate::GetMessageTextFragment( |
DCHECK(index >= 0 && index < static_cast<int>(types_.size())); |
ContentSettingsType type = types_[index]; |
int message_id; |
- if (type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC) { |
+ if (type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_SCREEN) { |
+ message_id = IDS_MEDIA_CAPTURE_SCREEN_PERMISSION_FRAGMENT; |
+ } else if (type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC) { |
message_id = IDS_MEDIA_CAPTURE_AUDIO_ONLY_PERMISSION_FRAGMENT; |
} else if (type == CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA) { |
message_id = IDS_MEDIA_CAPTURE_VIDEO_ONLY_PERMISSION_FRAGMENT; |