| Index: cc/test/layer_test_common.cc
|
| diff --git a/cc/test/layer_test_common.cc b/cc/test/layer_test_common.cc
|
| index a5d8e221e1243cded78a8f7ee8b25634f8fb7d73..ea49f5f1eab3832ea6b890dc2dd5c037613af001 100644
|
| --- a/cc/test/layer_test_common.cc
|
| +++ b/cc/test/layer_test_common.cc
|
| @@ -209,10 +209,8 @@ void LayerTestCommon::LayerImplTest::AppendSurfaceQuadsWithOcclusion(
|
| void EmptyCopyOutputCallback(std::unique_ptr<CopyOutputResult> result) {}
|
|
|
| void LayerTestCommon::LayerImplTest::RequestCopyOfOutput() {
|
| - std::vector<std::unique_ptr<CopyOutputRequest>> copy_requests;
|
| - copy_requests.push_back(
|
| + root_layer()->test_properties()->copy_requests.push_back(
|
| CopyOutputRequest::CreateRequest(base::Bind(&EmptyCopyOutputCallback)));
|
| - root_layer()->PassCopyRequests(©_requests);
|
| }
|
|
|
| } // namespace cc
|
|
|