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

Unified Diff: cc/layers/render_surface_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/render_surface_impl_unittest.cc ('k') | cc/trees/damage_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_surface_unittest.cc
diff --git a/cc/layers/render_surface_unittest.cc b/cc/layers/render_surface_unittest.cc
index ce28a3323becc7f066c873896b37d9f781d36b16..85ed8c4294a534a149e62064e04c63c3d89f08a0 100644
--- a/cc/layers/render_surface_unittest.cc
+++ b/cc/layers/render_surface_unittest.cc
@@ -54,7 +54,7 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
host_impl.active_tree()->UpdateDrawProperties(false /* update_lcd_text */);
RenderSurfaceImpl* render_surface =
- host_impl.active_tree()->root_layer_for_testing()->render_surface();
+ host_impl.active_tree()->root_layer_for_testing()->GetRenderSurface();
ASSERT_TRUE(render_surface);
// Currently, the content_rect, clip_rect, and
@@ -117,9 +117,9 @@ TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectSharedQuadState) {
host_impl.active_tree()->UpdateDrawProperties(false /* update_lcd_text */);
ASSERT_TRUE(
- host_impl.active_tree()->LayerById(owning_layer_id)->render_surface());
+ host_impl.active_tree()->LayerById(owning_layer_id)->GetRenderSurface());
RenderSurfaceImpl* render_surface =
- host_impl.active_tree()->LayerById(owning_layer_id)->render_surface();
+ host_impl.active_tree()->LayerById(owning_layer_id)->GetRenderSurface();
gfx::Rect content_rect(0, 0, 50, 50);
gfx::Rect clip_rect(5, 5, 40, 40);
@@ -188,9 +188,9 @@ TEST(RenderSurfaceTest, SanityCheckSurfaceCreatesCorrectRenderPass) {
host_impl.active_tree()->UpdateDrawProperties(false /* update_lcd_text */);
ASSERT_TRUE(
- host_impl.active_tree()->LayerById(owning_layer_id)->render_surface());
+ host_impl.active_tree()->LayerById(owning_layer_id)->GetRenderSurface());
RenderSurfaceImpl* render_surface =
- host_impl.active_tree()->LayerById(owning_layer_id)->render_surface();
+ host_impl.active_tree()->LayerById(owning_layer_id)->GetRenderSurface();
gfx::Rect content_rect(0, 0, 50, 50);
gfx::Transform origin;
« no previous file with comments | « cc/layers/render_surface_impl_unittest.cc ('k') | cc/trees/damage_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698