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

Unified Diff: cc/layers/render_surface_unittest.cc

Issue 1995133002: cc : Delete ResetFlags in property trees (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
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/trees/damage_tracker_unittest.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 da440c0b0cd81a05827ff8fd7cce61231ee1c657..24652cca1459429ddf1f8bbbd45c0c86b7746dcd 100644
--- a/cc/layers/render_surface_unittest.cc
+++ b/cc/layers/render_surface_unittest.cc
@@ -48,8 +48,7 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
ASSERT_TRUE(owning_layer->render_surface());
RenderSurfaceImpl* render_surface = owning_layer->render_surface();
gfx::Rect test_rect(3, 4, 5, 6);
- host_impl.active_tree()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ host_impl.active_tree()->ResetAllChangeTracking();
// Currently, the content_rect, clip_rect, and
// owning_layer->layerPropertyChanged() are the only sources of change.
@@ -59,8 +58,7 @@ TEST(RenderSurfaceTest, VerifySurfaceChangesAreTrackedProperly) {
owning_layer->SetOpacity(0.5f);
EXPECT_TRUE(render_surface->SurfacePropertyChanged());
- host_impl.active_tree()->ResetAllChangeTracking(
- PropertyTrees::ResetFlags::ALL_TREES);
+ host_impl.active_tree()->ResetAllChangeTracking();
// Setting the surface properties to the same values again should not be
// considered "change".
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/trees/damage_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698