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

Unified Diff: content/renderer/render_view_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
« no previous file with comments | « content/common/view_messages.h ('k') | gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 2511f6775631069c03a854f50561cb2f1ae42bff..35f540102dbb798c086a2ce0625072d4b8fc278c 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -725,8 +725,7 @@ void RenderViewImpl::Initialize(const ViewMsg_New_Params& params,
command_line.HasSwitch(switches::kRootLayerScrolls));
webview()->setShowFPSCounter(
command_line.HasSwitch(cc::switches::kShowFPSCounter));
- webview()->setDeviceColorProfile(
- params.image_decode_color_space.GetICCProfile());
+ webview()->setDeviceColorProfile(params.image_decode_color_space.GetData());
ApplyWebPreferencesInternal(webkit_preferences_, webview(), compositor_deps_);
« no previous file with comments | « content/common/view_messages.h ('k') | gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698