| Index: cc/test/fake_surface_resource_holder_client.cc
|
| diff --git a/cc/test/fake_surface_resource_holder_client.cc b/cc/test/fake_surface_resource_holder_client.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a5cd8f1365b483898ae8ab91a4f27c43d8c49fad
|
| --- /dev/null
|
| +++ b/cc/test/fake_surface_resource_holder_client.cc
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "cc/test/fake_surface_resource_holder_client.h"
|
| +
|
| +namespace cc {
|
| +
|
| +FakeSurfaceResourceHolderClient::FakeSurfaceResourceHolderClient() = default;
|
| +
|
| +FakeSurfaceResourceHolderClient::~FakeSurfaceResourceHolderClient() = default;
|
| +
|
| +void FakeSurfaceResourceHolderClient::ReturnResources(
|
| + const ReturnedResourceArray& resources) {
|
| + returned_resources_.insert(returned_resources_.end(), resources.begin(),
|
| + resources.end());
|
| +}
|
| +
|
| +} // namespace cc
|
|
|