Index: content/browser/frame_host/navigation_controller_impl.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl.cc b/content/browser/frame_host/navigation_controller_impl.cc |
index 0658787b402b4c7cadbd9bad2d3af710b679ae4c..695d1862e503788095b79d46bd694f7f23cd2612 100644 |
--- a/content/browser/frame_host/navigation_controller_impl.cc |
+++ b/content/browser/frame_host/navigation_controller_impl.cc |
@@ -488,8 +488,7 @@ NavigationEntryImpl* NavigationControllerImpl::GetLastCommittedEntry() const { |
bool NavigationControllerImpl::CanViewSource() const { |
const std::string& mime_type = delegate_->GetContentsMimeType(); |
- bool is_viewable_mime_type = net::IsSupportedNonImageMimeType(mime_type) && |
- !net::IsSupportedMediaMimeType(mime_type); |
+ bool is_viewable_mime_type = net::IsSupportedNonImageMimeType(mime_type); |
NavigationEntry* visible_entry = GetVisibleEntry(); |
return visible_entry && !visible_entry->IsViewSourceMode() && |
is_viewable_mime_type && !delegate_->GetInterstitialPage(); |