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

Unified Diff: cc/layers/render_surface_unittest.cc

Issue 1975623002: cc : Add LayerToPropertyTreeIndices map to PropertyTrees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_unittest.cc
diff --git a/cc/layers/render_surface_unittest.cc b/cc/layers/render_surface_unittest.cc
index da440c0b0cd81a05827ff8fd7cce61231ee1c657..56f5983333343590a5cbbc66d26cf37e6787a3f4 100644
--- a/cc/layers/render_surface_unittest.cc
+++ b/cc/layers/render_surface_unittest.cc
@@ -49,7 +49,7 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
RenderSurfaceImpl* render_surface = owning_layer->render_surface();
gfx::Rect test_rect(3, 4, 5, 6);
host_impl.active_tree()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ PropertyTrees::Types::EFFECT_AND_TRANSFORM_TREES);
// Currently, the content_rect, clip_rect, and
// owning_layer->layerPropertyChanged() are the only sources of change.
@@ -60,7 +60,7 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
owning_layer->SetOpacity(0.5f);
EXPECT_TRUE(render_surface->SurfacePropertyChanged());
host_impl.active_tree()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ PropertyTrees::Types::EFFECT_AND_TRANSFORM_TREES);
// Setting the surface properties to the same values again should not be
// considered "change".

Powered by Google App Engine
This is Rietveld 408576698