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

Unified Diff: cc/ipc/struct_traits_unittest.cc

Issue 2828833002: color: Fix custom params IPC (Closed)
Patch Set: color: Fix custom params IPC Created 3 years, 8 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 | « no previous file | ui/gfx/ipc/color/gfx_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/struct_traits_unittest.cc
diff --git a/cc/ipc/struct_traits_unittest.cc b/cc/ipc/struct_traits_unittest.cc
index d132d29b7bb0a046093e87b52e8815e60bb10bab..f27c9c7ed141ef1eae1eea7a34587741d113735e 100644
--- a/cc/ipc/struct_traits_unittest.cc
+++ b/cc/ipc/struct_traits_unittest.cc
@@ -948,7 +948,9 @@ TEST_F(StructTraitsTest, RenderPassWithEmptySharedQuadStateList) {
const gfx::Transform transform_to_root =
gfx::Transform(1.0, 0.5, 0.5, -0.5, -1.0, 0.0);
const gfx::Rect damage_rect(56, 123, 19, 43);
- gfx::ColorSpace color_space = gfx::ColorSpace::CreateSCRGBLinear();
+ SkMatrix44 to_XYZD50;
+ SkColorSpaceTransferFn fn = {1, 0, 1, 0, 0, 0, 1};
+ gfx::ColorSpace color_space = gfx::ColorSpace::CreateCustom(to_XYZD50, fn);
const bool has_transparent_background = true;
std::unique_ptr<RenderPass> input = RenderPass::Create();
input->SetAll(id, output_rect, damage_rect, transform_to_root,
« no previous file with comments | « no previous file | ui/gfx/ipc/color/gfx_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698