Index: chromecast/browser/cast_content_browser_client.cc |
diff --git a/chromecast/browser/cast_content_browser_client.cc b/chromecast/browser/cast_content_browser_client.cc |
index 677d900b173fb908cc3873cf41f0a11a088f5115..42bfb33deb9cde5e8725622c67c60596a46cd646 100644 |
--- a/chromecast/browser/cast_content_browser_client.cc |
+++ b/chromecast/browser/cast_content_browser_client.cc |
@@ -129,6 +129,10 @@ 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() { |