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

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: More comment cleanup 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
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 b7b6e741b5555a87b1855b7694a229053d5fa045..f33dc77ce4310d0b40f7d89d2379472b21d7dd26 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -3318,8 +3318,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);
}
}

Powered by Google App Engine
This is Rietveld 408576698