| 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 eca1114a066a5b36ed2dc5660a2005c681678c4c..b1c6dc6b539cf14a5ee9cb33ebf8e82446e2bbd8 100644
|
| --- a/content/browser/frame_host/navigation_controller_impl.cc
|
| +++ b/content/browser/frame_host/navigation_controller_impl.cc
|
| @@ -40,8 +40,8 @@
|
| #include "content/public/common/content_client.h"
|
| #include "content/public/common/content_constants.h"
|
| #include "content/public/common/content_switches.h"
|
| +#include "media/base/mime_util.h"
|
| #include "net/base/escape.h"
|
| -#include "net/base/mime_util.h"
|
| #include "net/base/net_util.h"
|
| #include "skia/ext/platform_canvas.h"
|
| #include "url/url_constants.h"
|
| @@ -496,7 +496,7 @@ bool NavigationControllerImpl::CanViewSource() const {
|
| const std::string& mime_type = delegate_->GetContentsMimeType();
|
| bool is_viewable_mime_type =
|
| mime_util::IsSupportedNonImageMimeType(mime_type) &&
|
| - !net::IsSupportedMediaMimeType(mime_type);
|
| + !media::IsSupportedMediaMimeType(mime_type);
|
| NavigationEntry* visible_entry = GetVisibleEntry();
|
| return visible_entry && !visible_entry->IsViewSourceMode() &&
|
| is_viewable_mime_type && !delegate_->GetInterstitialPage();
|
|
|