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..d53f995dc7884affd979ca0830ea10dae99bcec5 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -22,6 +22,7 @@ |
#include "chrome/browser/ui/collected_cookies_infobar_delegate.h" |
#include "chrome/browser/ui/content_settings/content_setting_bubble_model_delegate.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chrome/common/origin_util.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/render_messages.h" |
#include "chrome/grit/generated_resources.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)) { |
radio_item_setting_[0] = CONTENT_SETTING_ALLOW; |
radio_allow_label_id = IDS_BLOCKED_MEDIASTREAM_CAMERA_ALLOW; |
if (is_mic) |