OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <vector> | |
6 | |
5 #include "cc/test/fake_tile_manager_client.h" | 7 #include "cc/test/fake_tile_manager_client.h" |
6 | 8 |
7 namespace cc { | 9 namespace cc { |
10 namespace { | |
11 | |
12 base::LazyInstance<std::vector<PictureLayerImpl*> > g_picture_layers; | |
vmpstr
2014/06/05 22:38:02
Why is this not a member? You need to include base
reveman
2014/06/06 17:27:24
Either is fine. I just put it here because I like
| |
13 | |
14 } // namespace | |
15 | |
16 FakeTileManagerClient::FakeTileManagerClient() { | |
17 } | |
18 | |
19 FakeTileManagerClient::~FakeTileManagerClient() { | |
20 } | |
21 | |
22 const std::vector<PictureLayerImpl*>& | |
23 FakeTileManagerClient::GetPictureLayers() { | |
24 return g_picture_layers.Get(); | |
25 } | |
8 | 26 |
9 } // namespace cc | 27 } // namespace cc |
OLD | NEW |