summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authornoel <noel@chromium.org>2014-11-05 14:53:21 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-05 22:53:37 +0000
commitf552c5175a7e1f75cc39be1124864f193abfff17 (patch)
tree28e6b19ceec363fb5293bc5f6cfc07ae67819e0e /content/renderer
parent17a682c05ce5ff5eda435a473c4e5bd7d85235a9 (diff)
downloadchromium_src-f552c5175a7e1f75cc39be1124864f193abfff17.zip
chromium_src-f552c5175a7e1f75cc39be1124864f193abfff17.tar.gz
chromium_src-f552c5175a7e1f75cc39be1124864f193abfff17.tar.bz2
Add --enable-image-color-profiles command line switch
Chromium-side plumbing for image color profiles web runtime enable feature: https://codereview.chromium.org/646033003 BUG=423670, 369787 Review URL: https://codereview.chromium.org/658683003 Cr-Commit-Position: refs/heads/master@{#302893}
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/render_view_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 0015922..7bfa3b6 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1044,6 +1044,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setDeferredImageDecodingEnabled(
prefs.deferred_image_decoding_enabled);
+ WebRuntimeFeatures::enableImageColorProfiles(
+ prefs.image_color_profiles_enabled);
settings->setShouldRespectImageOrientation(
prefs.should_respect_image_orientation);