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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 2325773003: cc: Plumb the monitor color profile to renderer for rasterization (Closed)
Patch Set: Unrevert Created 4 years, 3 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/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index a751450470b4e1b8504cc1deeb804cc4c3ddbcb4..151855085a322100e96d1ff1a463d134c88cf732 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -652,6 +652,7 @@ void GetScreenInfoForWindow(ScreenInfo* results,
// TODO(derat|oshima): Don't hardcode this. Get this from display object.
results->depth = 24;
results->depth_per_component = 8;
+ results->is_monochrome = false;
results->device_scale_factor = display.device_scale_factor();
// The Display rotation and the ScreenInfo orientation are not the same
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.cc ('k') | content/browser/web_contents/web_contents_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698