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

Unified Diff: content/browser/renderer_host/render_view_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_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index ca6f4807ab91d405721f2f4f6039f35077eb8b30..1b43ff27d3a3e49dd3f0e4d7797ef9f633a0df2b 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -87,7 +87,7 @@
#include "ui/base/touch/touch_enabled.h"
#include "ui/base/ui_base_switches.h"
#include "ui/gfx/animation/animation.h"
-#include "ui/gfx/color_profile.h"
+#include "ui/gfx/color_space.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/native_theme/native_theme_switches.h"
@@ -371,7 +371,7 @@ bool RenderViewHostImpl::CreateRenderView(
params.max_size = GetWidget()->max_size_for_auto_resize();
params.page_zoom_level = delegate_->GetPendingPageZoomLevel();
params.image_decode_color_profile =
- gfx::ColorProfile::GetFromBestMonitor().profile();
+ gfx::ColorSpace::FromBestMonitor().GetICCProfile();
GetWidget()->GetResizeParams(&params.initial_size);
if (!Send(new ViewMsg_New(params)))
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698