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

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

Issue 2877033002: Fix cc scrollbar layer issues with initialization, and use element ids throughout. (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 7ff18f7a69b71c4420ca5fe40bff83294e3ec64a..9d085807f3fa92e5b0473cbdd21fe0edef48e5b2 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
@@ -100,10 +100,10 @@ TEST_F(CompositorMutableStateTest, MutableStateMutableProperties) {
SetLayerPropertiesForTesting(layer);
int primary_id = 12;
- root->SetElementId(
- CreateCompositorElementId(primary_id, CompositorSubElementId::kPrimary));
- layer->SetElementId(
- CreateCompositorElementId(primary_id, CompositorSubElementId::kScroll));
+ root->SetElementId(CompositorElementIdFromDOMNodeId(
+ primary_id, CompositorElementIdNamespace::kPrimary));
+ layer->SetElementId(CompositorElementIdFromDOMNodeId(
+ primary_id, CompositorElementIdNamespace::kScroll));
root->SetMutableProperties(CompositorMutableProperty::kOpacity |
CompositorMutableProperty::kTransform);

Powered by Google App Engine
This is Rietveld 408576698