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

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

Issue 2890953002: [SPv1] Always set a CompositorElementId on main graphics layers; use PaintLayer id. (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/CompositorMutableStateTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
index 9d085807f3fa92e5b0473cbdd21fe0edef48e5b2..f65d8c4885a474b681386f74dd96191fda92944f 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
@@ -99,10 +99,10 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties) {
SetLayerPropertiesForTesting(layer);
- int primary_id = 12;
- root->SetElementId(CompositorElementIdFromDOMNodeId(
+ uint64_t primary_id = 12;
+ root->SetElementId(CompositorElementIdFromPaintLayerId(
primary_id, CompositorElementIdNamespace::kPrimary));
- layer->SetElementId(CompositorElementIdFromDOMNodeId(
+ layer->SetElementId(CompositorElementIdFromPaintLayerId(
primary_id, CompositorElementIdNamespace::kScroll));
root->SetMutableProperties(CompositorMutableProperty::kOpacity |

Powered by Google App Engine
This is Rietveld 408576698