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

Unified Diff: cc/layers/render_surface_impl_unittest.cc

Issue 2857343002: Delete LayerImpl::GetRenderSurface. (Closed)
Patch Set: none Created 3 years, 8 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/layers/layer_position_constraint_unittest.cc ('k') | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_surface_impl_unittest.cc
diff --git a/cc/layers/render_surface_impl_unittest.cc b/cc/layers/render_surface_impl_unittest.cc
index 49f2f7d6eb926b6419f8677f6101e027dea1fe4a..7f2814d68047feaa48108cee7e763eca2e2391cf 100644
--- a/cc/layers/render_surface_impl_unittest.cc
+++ b/cc/layers/render_surface_impl_unittest.cc
@@ -29,8 +29,7 @@ TEST(RenderSurfaceLayerImplTest, Occlusion) {
impl.CalcDrawProps(viewport_size);
- RenderSurfaceImpl* render_surface_impl =
- owning_layer_impl->GetRenderSurface();
+ RenderSurfaceImpl* render_surface_impl = GetRenderSurface(owning_layer_impl);
ASSERT_TRUE(render_surface_impl);
{
@@ -110,7 +109,7 @@ TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) {
->root_layer_for_testing()
->test_properties()
->children[0];
- RenderSurfaceImpl* render_surface_impl = surface_raw->GetRenderSurface();
+ RenderSurfaceImpl* render_surface_impl = GetRenderSurface(surface_raw);
std::unique_ptr<RenderPass> render_pass = RenderPass::Create();
AppendQuadsData append_quads_data;
render_surface_impl->AppendQuads(render_pass.get(), &append_quads_data);
« no previous file with comments | « cc/layers/layer_position_constraint_unittest.cc ('k') | cc/layers/render_surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698