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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2092533002: Clean up gfx::ColorProfile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 4 years, 6 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/render_message_filter.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 18d849e8e00e41778d01a0a9a70e06c2ba167eba..8c197c5eaf1924bd3eb4c1cfea36ac4e1351f6fb 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -858,7 +858,7 @@ void RendererBlinkPlatformImpl::screenColorProfile(
#else
// On other platforms, the primary monitor color profile can be read
// directly.
- gfx::ColorProfile profile;
+ gfx::ColorProfile profile = gfx::ColorProfile::GetFromBestMonitor();
*to_profile = profile.profile();
#endif
}
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698