Index: cc/surfaces/surface_aggregator.cc |
diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc |
index b869a18c02ad3ed1bfebc5f73acfdb6c3b13d402..066ffc8adb902fb4f194d3c9fae5ae64c64d6a16 100644 |
--- a/cc/surfaces/surface_aggregator.cc |
+++ b/cc/surfaces/surface_aggregator.cc |
@@ -318,7 +318,7 @@ SharedQuadState* SurfaceAggregator::CopySharedQuadState( |
RenderPass* dest_render_pass) { |
SharedQuadState* copy_shared_quad_state = |
dest_render_pass->CreateAndAppendSharedQuadState(); |
- copy_shared_quad_state->CopyFrom(source_sqs); |
+ *copy_shared_quad_state = *source_sqs; |
// target_transform contains any transformation that may exist |
// between the context that these quads are being copied from (i.e. the |
// surface's draw transform when aggregated from within a surface) to the |