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

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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f8c49c2423fa7831a3d8f5d1a4cd2535f279ac80 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
@@ -99,11 +99,11 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties) {
SetLayerPropertiesForTesting(layer);
- int primary_id = 12;
+ uint64_t primary_id = 12;
root->SetElementId(CompositorElementIdFromDOMNodeId(
- primary_id, CompositorElementIdNamespace::kPrimary));
+ primary_id, CompositorElementIdNamespace::kPrimaryCompositorProxy));
layer->SetElementId(CompositorElementIdFromDOMNodeId(
- primary_id, CompositorElementIdNamespace::kScroll));
+ primary_id, CompositorElementIdNamespace::kScrollCompositorProxy));
root->SetMutableProperties(CompositorMutableProperty::kOpacity |
CompositorMutableProperty::kTransform);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698