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

Unified Diff: cc/layers/render_surface_impl_unittest.cc

Issue 2053193002: cc : Move LayerImpl::children to test properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
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 b9ecefa3c0c7483d0c6267c9617f408d1c82abaf..40027f64ba097b28d27ea24fae76f30a32a48636 100644
--- a/cc/layers/render_surface_impl_unittest.cc
+++ b/cc/layers/render_surface_impl_unittest.cc
@@ -99,8 +99,11 @@ TEST(RenderSurfaceLayerImplTest, AppendQuadsWithScaledMask) {
impl.host_impl()->active_tree()->BuildLayerListAndPropertyTreesForTesting();
impl.host_impl()->active_tree()->UpdateDrawProperties(false);
- LayerImpl* surface_raw =
- impl.host_impl()->active_tree()->root_layer()->children()[0];
+ LayerImpl* surface_raw = impl.host_impl()
+ ->active_tree()
+ ->root_layer()
+ ->test_properties()
+ ->children[0];
RenderSurfaceImpl* render_surface_impl = surface_raw->render_surface();
std::unique_ptr<RenderPass> render_pass = RenderPass::Create();
AppendQuadsData append_quads_data;

Powered by Google App Engine
This is Rietveld 408576698