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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2161293002: Color: Separate ICCProfile and ColorSpace structures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporate review feedback Created 4 years, 5 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_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 4c5569f5aecc0b7437ff0c33f1113416178f18b4..7054fdd723b88ac59945293a8c1ba38d4bd9da4d 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -221,10 +221,10 @@ RenderWidgetHostImpl::RenderWidgetHostImpl(RenderWidgetHostDelegate* delegate,
#if defined(OS_WIN)
// Update the display color profile cache so that it is likely to be up to
// date when the renderer process requests the color profile.
- if (gfx::ColorSpace::CachedProfilesNeedUpdate()) {
+ if (gfx::ICCProfile::CachedProfilesNeedUpdate()) {
BrowserThread::PostBlockingPoolTask(
FROM_HERE,
- base::Bind(&gfx::ColorSpace::UpdateCachedProfilesOnBackgroundThread));
+ base::Bind(&gfx::ICCProfile::UpdateCachedProfilesOnBackgroundThread));
}
#endif
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698