diff options
author | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-11 21:38:08 +0000 |
---|---|---|
committer | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-11 21:38:08 +0000 |
commit | 8bef40574e49576487dd4263960e639de1f5bae9 (patch) | |
tree | 4381a06642cd42b697b0677104a03a3eff857437 /cc/layer_sorter_unittest.cc | |
parent | db7e6b76197244048659657514eacefe84cf684f (diff) | |
download | chromium_src-8bef40574e49576487dd4263960e639de1f5bae9.zip chromium_src-8bef40574e49576487dd4263960e639de1f5bae9.tar.gz chromium_src-8bef40574e49576487dd4263960e639de1f5bae9.tar.bz2 |
[cc] Make LayerImpls point at LayerTreeImpl instead of LTHI
BUG=155209
R=enne@chromium.org
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/11519018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172411 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_sorter_unittest.cc')
-rw-r--r-- | cc/layer_sorter_unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cc/layer_sorter_unittest.cc b/cc/layer_sorter_unittest.cc index da86383..969810b 100644 --- a/cc/layer_sorter_unittest.cc +++ b/cc/layer_sorter_unittest.cc @@ -202,11 +202,11 @@ TEST(LayerSorterTest, verifyExistingOrderingPreservedWhenNoZDiff) FakeImplProxy proxy; FakeLayerTreeHostImpl hostImpl(&proxy); - scoped_ptr<LayerImpl> layer1 = LayerImpl::create(&hostImpl, 1); - scoped_ptr<LayerImpl> layer2 = LayerImpl::create(&hostImpl, 2); - scoped_ptr<LayerImpl> layer3 = LayerImpl::create(&hostImpl, 3); - scoped_ptr<LayerImpl> layer4 = LayerImpl::create(&hostImpl, 4); - scoped_ptr<LayerImpl> layer5 = LayerImpl::create(&hostImpl, 5); + scoped_ptr<LayerImpl> layer1 = LayerImpl::create(hostImpl.activeTree(), 1); + scoped_ptr<LayerImpl> layer2 = LayerImpl::create(hostImpl.activeTree(), 2); + scoped_ptr<LayerImpl> layer3 = LayerImpl::create(hostImpl.activeTree(), 3); + scoped_ptr<LayerImpl> layer4 = LayerImpl::create(hostImpl.activeTree(), 4); + scoped_ptr<LayerImpl> layer5 = LayerImpl::create(hostImpl.activeTree(), 5); gfx::Transform BehindMatrix; BehindMatrix.Translate3d(0, 0, 2); |