summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_test.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 20:51:28 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-29 20:51:28 +0000
commit50761e91bb7255a901c66d1336612ce40a75728b (patch)
tree113d49f70c8acbbe2622d6a9298d5ef8cfc588b3 /cc/test/layer_tree_test.cc
parent41e52fb588e0ced58dc1e6d93797a0e54004be27 (diff)
downloadchromium_src-50761e91bb7255a901c66d1336612ce40a75728b.zip
chromium_src-50761e91bb7255a901c66d1336612ce40a75728b.tar.gz
chromium_src-50761e91bb7255a901c66d1336612ce40a75728b.tar.bz2
cc: Consolidate LayerList types.
We currently have Layer::LayerList, LayerImpl::LayerList, LayerTreeHost::LayerList and LayerTreeHostImpl::LayerList, as well as LayerTreeImpl::LayerList, LayerSorter::LayerList, and I think some more. This patch consolidates the list typedefs into three types: LayerList, LayerImplList, and OwnedLayerImplList. LayerList and LayerImplList are the output of CalculateDrawProperties. While OwnedLayerImplList is a list that owns the layer pointers in it, ie ScopedPtrVector. R=jamesr Review URL: https://codereview.chromium.org/13285002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_test.cc')
-rw-r--r--cc/test/layer_tree_test.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index e865d29..51a1a61 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -60,8 +60,6 @@ scoped_refptr<cc::ContextProvider> TestHooks::
// Adapts LayerTreeHostImpl for test. Runs real code, then invokes test hooks.
class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
public:
- typedef std::vector<LayerImpl*> LayerList;
-
static scoped_ptr<LayerTreeHostImplForTesting> Create(
TestHooks* test_hooks,
const LayerTreeSettings& settings,