summaryrefslogtreecommitdiffstats
path: root/cc/gl_renderer_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/gl_renderer_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/gl_renderer_unittest.cc')
-rw-r--r--cc/gl_renderer_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/gl_renderer_unittest.cc b/cc/gl_renderer_unittest.cc
index 48922e3..8521627 100644
--- a/cc/gl_renderer_unittest.cc
+++ b/cc/gl_renderer_unittest.cc
@@ -62,7 +62,7 @@ public:
: m_hostImpl(&m_proxy)
, m_setFullRootLayerDamageCount(0)
, m_lastCallWasSetVisibility(0)
- , m_rootLayer(LayerImpl::create(&m_hostImpl, 1))
+ , m_rootLayer(LayerImpl::create(m_hostImpl.activeTree(), 1))
, m_memoryAllocationLimitBytes(PrioritizedResourceManager::defaultMemoryAllocationLimit())
{
m_rootLayer->createRenderSurface();