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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2970183002: color: Use ColorSpace for plumbing (Closed)
Patch Set: Add missed places Created 3 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/renderer/render_view_impl.h ('k') | content/shell/renderer/layout_test/blink_test_runner.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 0ef0f671be4a19558e8836ff5ab94c401b87ff00..d0f55d420bd524bafcaaebf4e57d5e9a1b088c7f 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2467,11 +2467,11 @@ void RenderViewImpl::SetDeviceScaleFactorForTesting(float factor) {
OnResize(params);
}
-void RenderViewImpl::SetDeviceColorProfileForTesting(
- const gfx::ICCProfile& icc_profile) {
+void RenderViewImpl::SetDeviceColorSpaceForTesting(
+ const gfx::ColorSpace& color_space) {
ResizeParams params;
params.screen_info = screen_info_;
- params.screen_info.color_space = icc_profile.GetColorSpace();
+ params.screen_info.color_space = color_space;
params.new_size = size();
params.visible_viewport_size = visible_viewport_size_;
params.physical_backing_size = physical_backing_size_;
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/shell/renderer/layout_test/blink_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698