Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index c681785cb705010ce713840ddd9c68ad69bc198e..0269d73a117ef22327afe4d024a2734ec3236f49 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -2672,6 +2672,8 @@ void RenderWidgetHostViewAura::AddedToRootWindow() { |
UpdateLegacyWin(); |
#endif |
+ window_->GetHost()->compositor()->SetDisplayColorSpace( |
+ gfx::ICCProfile::FromBestMonitor().GetColorSpace()); |
piman
2016/09/02 23:23:38
Drive-by: why is this done here, it's odd...
This
hubbe
2016/09/02 23:27:48
I'll let ccameron@ answer, I put it here because h
ccameron
2016/09/02 23:41:48
Sorry, you're right. On Mac we send this from the
piman
2016/09/02 23:56:34
Ok, yes, that makes sense, thanks!
hubbe
2016/09/06 20:43:50
Done.
|
delegated_frame_host_->SetCompositor(window_->GetHost()->compositor()); |
} |