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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp

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: third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
index 28b1a68079a7528d972e685a18b5bdd5213afe97..2711cd77c7c9e073c3d2d6a74e7866b8adf69d1b 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp
@@ -127,7 +127,9 @@ TEST_F(GraphicsLayerTest, updateLayerShouldFlattenTransformWithAnimations) {
host.AddTimeline(*compositor_timeline);
compositor_timeline->PlayerAttached(player);
- platform_layer_->SetElementId(CompositorElementId(platform_layer_->Id(), 0));
+ CompositorElementId element_id;
+ element_id.id = platform_layer_->Id();
+ platform_layer_->SetElementId(element_id);
player.CompositorPlayer()->AttachElement(platform_layer_->GetElementId());
ASSERT_TRUE(player.CompositorPlayer()->IsElementAttached());

Powered by Google App Engine
This is Rietveld 408576698