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

Unified Diff: cc/layers/layer_unittest.cc

Issue 1922393002: CC Animation: Unify ElementId in Blink Compositor Worker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@player
Patch Set: Remove NextElementId. 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_impl.cc ('k') | cc/trees/element_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index dd5bc1515b4d2cbae5cbfd07409dc366184f26c5..17de23e8c2395d0e45ff15e65de09dc53a9c9890 100644
--- a/cc/layers/layer_unittest.cc
+++ b/cc/layers/layer_unittest.cc
@@ -2491,12 +2491,12 @@ TEST_F(LayerTest, ElementIdAndMutablePropertiesArePushed) {
test_layer->SetElementId(2);
test_layer->SetMutableProperties(MutableProperty::kTransform);
- EXPECT_EQ(0lu, impl_layer->element_id());
+ EXPECT_EQ(0, impl_layer->element_id());
EXPECT_EQ(MutableProperty::kNone, impl_layer->mutable_properties());
test_layer->PushPropertiesTo(impl_layer.get());
- EXPECT_EQ(2lu, impl_layer->element_id());
+ EXPECT_EQ(2, impl_layer->element_id());
EXPECT_EQ(MutableProperty::kTransform, impl_layer->mutable_properties());
}
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/trees/element_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698