summaryrefslogtreecommitdiffstats
path: root/cc/layer_unittest.cc
diff options
context:
space:
mode:
authornduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 21:38:08 +0000
committernduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 21:38:08 +0000
commit8bef40574e49576487dd4263960e639de1f5bae9 (patch)
tree4381a06642cd42b697b0677104a03a3eff857437 /cc/layer_unittest.cc
parentdb7e6b76197244048659657514eacefe84cf684f (diff)
downloadchromium_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_unittest.cc')
-rw-r--r--cc/layer_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layer_unittest.cc b/cc/layer_unittest.cc
index 60358a4..e5a98e8 100644
--- a/cc/layer_unittest.cc
+++ b/cc/layer_unittest.cc
@@ -559,7 +559,7 @@ TEST_F(LayerTest, checkPropertyChangeCausesCorrectBehavior)
TEST_F(LayerTest, verifyPushPropertiesAccumulatesUpdateRect)
{
scoped_refptr<Layer> testLayer = Layer::create();
- scoped_ptr<LayerImpl> implLayer = LayerImpl::create(&m_hostImpl, 1);
+ scoped_ptr<LayerImpl> implLayer = LayerImpl::create(m_hostImpl.activeTree(), 1);
testLayer->setNeedsDisplayRect(gfx::RectF(gfx::PointF(), gfx::SizeF(5, 5)));
testLayer->pushPropertiesTo(implLayer.get());