Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1815)

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 2742613002: color: Always use parametric color spaces for raster (Closed)
Patch Set: Incorporate review feedback Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/browser_compositor_view_mac.mm ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 9ce93d256d4f1c3cdaaa277f7d09987c621a0731..f4f30153c81b72482750812cd84c917755430a8e 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -3316,8 +3316,8 @@ - (void)viewDidChangeBackingProperties {
color_space = base::mac::GetSystemColorSpace();
gfx::ICCProfile icc_profile =
gfx::ICCProfile::FromCGColorSpace(color_space);
- renderWidgetHostView_->browser_compositor_->SetDisplayColorSpace(
- icc_profile.GetColorSpace());
+ renderWidgetHostView_->browser_compositor_->SetDisplayColorProfile(
+ icc_profile);
}
}
« no previous file with comments | « content/browser/renderer_host/browser_compositor_view_mac.mm ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698