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

Unified Diff: cc/layers/render_surface_impl_unittest.cc

Issue 2716733007: cc: Rename LayerImpl::render_surface to GetRenderSurface (Closed)
Patch Set: Created 3 years, 10 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 df81ad140404eaa09964cb26791d9da07d758e18..2095c941effaa663e5f8c410195fec7e4e7d8581 100644
--- a/cc/layers/render_surface_impl_unittest.cc
+++ b/cc/layers/render_surface_impl_unittest.cc
@@ -28,7 +28,8 @@ TEST(RenderSurfaceLayerImplTest, Occlusion) {
impl.CalcDrawProps(viewport_size);
- RenderSurfaceImpl* render_surface_impl = owning_layer_impl->render_surface();
+ RenderSurfaceImpl* render_surface_impl =
+ owning_layer_impl->GetRenderSurface();
ASSERT_TRUE(render_surface_impl);
{
@@ -103,7 +104,7 @@ TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) {
->root_layer_for_testing()
->test_properties()
->children[0];
- RenderSurfaceImpl* render_surface_impl = surface_raw->render_surface();
+ RenderSurfaceImpl* render_surface_impl = surface_raw->GetRenderSurface();
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