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

Unified Diff: cc/trees/layer_tree_host_unittest_damage.cc

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none Created 3 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/trees/layer_tree_host_unittest_damage.cc
diff --git a/cc/trees/layer_tree_host_unittest_damage.cc b/cc/trees/layer_tree_host_unittest_damage.cc
index 578324f785eeb3b37d145b3cb40d0b4259a6908f..54273b699b13ec6c40b2227e508cc42612db5d85 100644
--- a/cc/trees/layer_tree_host_unittest_damage.cc
+++ b/cc/trees/layer_tree_host_unittest_damage.cc
@@ -341,8 +341,7 @@ class LayerTreeHostScrollbarDamageTest : public LayerTreeHostDamageTest {
scoped_refptr<Layer> scroll_clip_layer = Layer::Create();
content_layer_ = FakePictureLayer::Create(&client_);
- content_layer_->SetElementId(
- LayerIdToElementIdForTesting(content_layer_->id()));
+ content_layer_->SetElementId(ElementId(content_layer_->id()));
suzyh_UTC10 (ex-contributor) 2017/05/05 04:27:30 Another possibly unnecessary ElementId call?
chrishtr 2017/05/05 05:34:52 Fixed.
content_layer_->SetScrollClipLayerId(scroll_clip_layer->id());
content_layer_->SetScrollOffset(gfx::ScrollOffset(10, 20));
content_layer_->SetBounds(gfx::Size(100, 200));

Powered by Google App Engine
This is Rietveld 408576698