Index: cc/output/gl_renderer.cc |
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc |
index 201bf720bed11aa7f42034ba12f3029b7423e811..eb3d145ebcd6cb415c77480bb96d04a78d40e156 100644 |
--- a/cc/output/gl_renderer.cc |
+++ b/cc/output/gl_renderer.cc |
@@ -3272,10 +3272,12 @@ void GLRenderer::ScheduleDCLayers() { |
dc_layer_overlay.shared_state->opacity, is_clipped, clip_rect, |
z_order, transform); |
} |
- gl_->ScheduleDCLayerCHROMIUM(ids_to_send, texture_ids, contents_rect, |
- dc_layer_overlay.background_color, |
- dc_layer_overlay.edge_aa_mask, bounds_rect, |
- filter); |
+ base::Pickle color_space_data; |
+ dc_layer_overlay.color_space.Serialize(&color_space_data); |
hubbe
2017/06/20 18:23:28
This seems a little weird, shouldn't the gl layer
|
+ gl_->ScheduleDCLayerCHROMIUM( |
+ ids_to_send, texture_ids, contents_rect, |
+ dc_layer_overlay.background_color, dc_layer_overlay.edge_aa_mask, |
+ bounds_rect, filter, color_space_data.size(), color_space_data.data()); |
} |
// Take the number of copied render passes in this frame, and use 3 times that |