Index: chrome/browser/tab_contents/render_view_context_menu.cc |
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc |
index 71aa90960e0266aabc5e26d8d426dbc4270735df..dee54bfe5d7e5ce43c51ec5c6429060ed1a540da 100644 |
--- a/chrome/browser/tab_contents/render_view_context_menu.cc |
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc |
@@ -1588,11 +1588,6 @@ bool RenderViewContextMenu::IsDevCommandEnabled(int id) const { |
if (active_entry->IsViewSourceMode()) |
return false; |
- // Do not inspect Chrome URLs (chrome://network/, chrome://memory/, etc.). |
- // However, do inspect about:blank, which is often used by ordinary web pages. |
- if (active_entry->virtual_url().SchemeIs(chrome::kChromeUIScheme)) |
- return false; |
- |
if (id == IDC_CONTENT_CONTEXT_INSPECTELEMENT) { |
// Don't enable the web inspector if JavaScript is disabled. |
if (!profile_->GetPrefs()->GetBoolean(prefs::kWebKitJavascriptEnabled) || |