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

Side by Side Diff: cc/test/fake_surface_resource_holder_client.cc

Issue 2824053003: Split SurfaceFactoryClient Into Four Interfaces (Closed)
Patch Set: Address Comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "cc/test/fake_surface_resource_holder_client.h"
6
7 namespace cc {
8
9 FakeSurfaceResourceHolderClient::FakeSurfaceResourceHolderClient() = default;
10
11 FakeSurfaceResourceHolderClient::~FakeSurfaceResourceHolderClient() = default;
12
13 void FakeSurfaceResourceHolderClient::ReturnResources(
14 const ReturnedResourceArray& resources) {
15 returned_resources_.insert(returned_resources_.end(), resources.begin(),
16 resources.end());
17 }
18
19 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698