Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(803)

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc

Issue 11571010: fixed the DCHECK and also corrected the website setting UI for media (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed the DCHECK part code, and added allow support to media for https Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
index 5f67d5026dc4dc4d023c79498892a4e7d96ae311..e394bc08dd91a9987c2eb1decd01ad7f84da9c64 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.cc
@@ -491,6 +491,7 @@ void WebsiteSettingsPopupView::SetPermissionInfo(
++permission) {
layout->StartRow(1, content_column);
PermissionSelectorView* selector = new PermissionSelectorView(
+ web_contents_->GetURL(),
permission->type,
permission->default_setting,
permission->setting,

Powered by Google App Engine
This is Rietveld 408576698