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

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

Issue 2106303002: Color: Rename gfx::ColorProfile to gfx::ColorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 ad12fbe4c939da90254be9124e6bfb86663005da..8c8bae4d2a923c28f62218a6a14ad6ca02fd40e5 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -76,7 +76,7 @@
#include "third_party/WebKit/public/web/WebCompositionUnderline.h"
#include "ui/events/event.h"
#include "ui/events/keycodes/keyboard_codes.h"
-#include "ui/gfx/color_profile.h"
+#include "ui/gfx/color_space.h"
#include "ui/gfx/geometry/size_conversions.h"
#include "ui/gfx/geometry/vector2d_conversions.h"
#include "ui/gfx/skbitmap_operations.h"
@@ -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::ColorProfile::CachedProfilesNeedUpdate()) {
+ if (gfx::ColorSpace::CachedProfilesNeedUpdate()) {
BrowserThread::PostBlockingPoolTask(
FROM_HERE,
- base::Bind(&gfx::ColorProfile::UpdateCachedProfilesOnBackgroundThread));
+ base::Bind(&gfx::ColorSpace::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_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698