Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: cc/gl_renderer_unittest.cc

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/frame_rate_controller.cc ('k') | cc/heads_up_display_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/gl_renderer_unittest.cc
diff --git a/cc/gl_renderer_unittest.cc b/cc/gl_renderer_unittest.cc
index c67cf2009874bd4b9b5a95d456f66ad9ca9ce72c..b332f3f542d48da6229fe2c266c4b24d73f3b8f4 100644
--- a/cc/gl_renderer_unittest.cc
+++ b/cc/gl_renderer_unittest.cc
@@ -67,11 +67,11 @@ public:
: m_hostImpl(&m_proxy)
, m_setFullRootLayerDamageCount(0)
, m_lastCallWasSetVisibility(0)
- , m_rootLayer(LayerImpl::create(m_hostImpl.activeTree(), 1))
+ , m_rootLayer(LayerImpl::Create(m_hostImpl.activeTree(), 1))
, m_memoryAllocationLimitBytes(PrioritizedResourceManager::defaultMemoryAllocationLimit())
{
- m_rootLayer->createRenderSurface();
- RenderPass::Id renderPassId = m_rootLayer->renderSurface()->RenderPassId();
+ m_rootLayer->CreateRenderSurface();
+ RenderPass::Id renderPassId = m_rootLayer->render_surface()->RenderPassId();
scoped_ptr<RenderPass> root_render_pass = RenderPass::Create();
root_render_pass->SetNew(renderPassId, gfx::Rect(), gfx::Rect(), gfx::Transform());
m_renderPassesInDrawOrder.push_back(root_render_pass.Pass());
« no previous file with comments | « cc/frame_rate_controller.cc ('k') | cc/heads_up_display_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698