Chromium Code Reviews| Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
| diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
| index 3d9d4e1d888a0e0e3dbca3b70d688e8038e92395..8e76299c04d3bd7cbcd287a6632a45d3b86b9746 100644 |
| --- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
| @@ -35,6 +35,7 @@ |
| #include "content/public/browser/user_metrics.h" |
| #include "content/public/browser/web_contents.h" |
| #include "content/public/browser/web_contents_delegate.h" |
| +#include "content/public/common/origin_util.h" |
| #include "grit/components_strings.h" |
| #include "grit/theme_resources.h" |
| #include "net/base/net_util.h" |
| @@ -700,7 +701,7 @@ void ContentSettingMediaStreamBubbleModel::SetRadioGroup() { |
| int radio_block_label_id = 0; |
| if (state_ & (TabSpecificContentSettings::MICROPHONE_BLOCKED | |
| TabSpecificContentSettings::CAMERA_BLOCKED)) { |
| - if (url.SchemeIsSecure()) { |
| + if (IsOriginSecure(url)) { |
|
Bernhard Bauer
2015/05/08 09:06:31
Does this compile? I would have though it requires
|
| radio_item_setting_[0] = CONTENT_SETTING_ALLOW; |
| radio_allow_label_id = IDS_BLOCKED_MEDIASTREAM_CAMERA_ALLOW; |
| if (is_mic) |