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

Unified Diff: cc/trees/damage_tracker_unittest.cc

Issue 1715973002: cc: Move tracking of layer_property_changed to main thread (3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/proto/layer.proto ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/damage_tracker_unittest.cc
diff --git a/cc/trees/damage_tracker_unittest.cc b/cc/trees/damage_tracker_unittest.cc
index d62b6ccf04a3c7fc75e92f0c182334606af71978..0be6a68f70a5fbcc7be4da6fde2dcef9e0cbe9c3 100644
--- a/cc/trees/damage_tracker_unittest.cc
+++ b/cc/trees/damage_tracker_unittest.cc
@@ -1196,7 +1196,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForMask) {
// Then test the property change.
ClearDamageForAllSurfaces(root.get());
- mask_layer->SetStackingOrderChanged(true);
+ mask_layer->NoteLayerPropertyChanged();
EmulateDrawingOneFrame(root.get());
child_damage_rect =
@@ -1270,7 +1270,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForReplicaMask) {
// CASE 1: a property change on the mask should damage only the reflected
// region on the target surface.
ClearDamageForAllSurfaces(root.get());
- replica_mask_layer->SetStackingOrderChanged(true);
+ replica_mask_layer->NoteLayerPropertyChanged();
EmulateDrawingOneFrame(root.get());
gfx::Rect grand_child_damage_rect =
@@ -1348,7 +1348,7 @@ TEST_F(DamageTrackerTest, VerifyDamageForReplicaMaskWithTransformOrigin) {
// A property change on the replica_mask should damage the reflected region on
// the target surface.
ClearDamageForAllSurfaces(root.get());
- replica_mask_layer->SetStackingOrderChanged(true);
+ replica_mask_layer->NoteLayerPropertyChanged();
EmulateDrawingOneFrame(root.get());
« no previous file with comments | « cc/proto/layer.proto ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698