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

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..3a18117f0c7fe789841b6c9f14be23b00097a846 100644
--- a/cc/trees/layer_tree_host_unittest_damage.cc
+++ b/cc/trees/layer_tree_host_unittest_damage.cc
@@ -341,8 +341,9 @@ class LayerTreeHostScrollbarDamageTest : public LayerTreeHostDamageTest {
scoped_refptr<Layer> scroll_clip_layer = Layer::Create();
content_layer_ = FakePictureLayer::Create(&client_);
- content_layer_->SetElementId(
- LayerIdToElementIdForTesting(content_layer_->id()));
+ ElementId element_id;
+ element_id.id = content_layer_->id();
+ content_layer_->SetElementId(element_id);
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