Index: chrome/browser/ui/panels/panel.cc |
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc |
index 5f5202223f27a24b8008791bd5b7a7a0e7606ce6..6501af4c301d74a12653ed8c96ee0e0da6bf0deb 100644 |
--- a/chrome/browser/ui/panels/panel.cc |
+++ b/chrome/browser/ui/panels/panel.cc |
@@ -96,7 +96,6 @@ PanelExtensionWindowController::CreateWindowValueWithTabs( |
const extensions::Extension* extension) const { |
base::DictionaryValue* result = CreateWindowValue(); |
- DCHECK(IsVisibleToExtension(extension)); |
base::DictionaryValue* tab_value = CreateTabValue(extension, 0); |
if (tab_value) { |
base::ListValue* tab_list = new base::ListValue(); |
@@ -115,7 +114,6 @@ base::DictionaryValue* PanelExtensionWindowController::CreateTabValue( |
if (!web_contents) |
return NULL; |
- DCHECK(IsVisibleToExtension(extension)); |
base::DictionaryValue* tab_value = new base::DictionaryValue(); |
tab_value->SetInteger(extensions::tabs_constants::kIdKey, |
SessionTabHelper::IdForTab(web_contents)); |