Index: cc/test/fake_tile_manager_client.cc |
diff --git a/cc/test/fake_tile_manager_client.cc b/cc/test/fake_tile_manager_client.cc |
index c82aeb00cbe572e675cff590aa70650e6034d7ef..b3f5e8a1c4c0f6ee8cbf5f7f030924fa9aac621f 100644 |
--- a/cc/test/fake_tile_manager_client.cc |
+++ b/cc/test/fake_tile_manager_client.cc |
@@ -2,8 +2,26 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <vector> |
+ |
#include "cc/test/fake_tile_manager_client.h" |
namespace cc { |
+namespace { |
+ |
+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
|
+ |
+} // namespace |
+ |
+FakeTileManagerClient::FakeTileManagerClient() { |
+} |
+ |
+FakeTileManagerClient::~FakeTileManagerClient() { |
+} |
+ |
+const std::vector<PictureLayerImpl*>& |
+FakeTileManagerClient::GetPictureLayers() { |
+ return g_picture_layers.Get(); |
+} |
} // namespace cc |