diff options
author | noel <noel@chromium.org> | 2014-11-05 14:53:21 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-05 22:53:37 +0000 |
commit | f552c5175a7e1f75cc39be1124864f193abfff17 (patch) | |
tree | 28e6b19ceec363fb5293bc5f6cfc07ae67819e0e /content/renderer | |
parent | 17a682c05ce5ff5eda435a473c4e5bd7d85235a9 (diff) | |
download | chromium_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.cc | 2 |
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); |