summaryrefslogtreecommitdiffstats
path: root/chromecast
diff options
context:
space:
mode:
authorgunsch <gunsch@chromium.org>2015-02-10 16:58:19 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-11 00:58:44 +0000
commit93ba65551bb3ddb495577acaefbb0b93715819ec (patch)
tree5d080603ae1a8ac0a7b96ce6977bda338e4ff8fc /chromecast
parentc70a7cbeeeb287e30e3328f47231e24abccf6499 (diff)
downloadchromium_src-93ba65551bb3ddb495577acaefbb0b93715819ec.zip
chromium_src-93ba65551bb3ddb495577acaefbb0b93715819ec.tar.gz
chromium_src-93ba65551bb3ddb495577acaefbb0b93715819ec.tar.bz2
Chromecast: re-enables image loading in headless mode.
R=lcwu@chromium.org,wzhong@chromium.org BUG=internal b/18512518 Review URL: https://codereview.chromium.org/912143003 Cr-Commit-Position: refs/heads/master@{#315693}
Diffstat (limited to 'chromecast')
-rw-r--r--chromecast/browser/cast_content_browser_client.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc
index 8127cf7..6578a4f 100644
--- a/chromecast/browser/cast_content_browser_client.cc
+++ b/chromecast/browser/cast_content_browser_client.cc
@@ -154,10 +154,6 @@ void CastContentBrowserClient::OverrideWebkitPrefs(
// to retrieve media data chunks while running in a https page. This pref
// should be disabled once all the content providers are no longer doing that.
prefs->allow_running_insecure_content = true;
-#if defined(DISABLE_DISPLAY)
- prefs->images_enabled = false;
- prefs->loads_images_automatically = false;
-#endif // defined(DISABLE_DISPLAY)
}
std::string CastContentBrowserClient::GetApplicationLocale() {