| Index: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| index cd28ae53a6ec76c93cba0289fb43813867d827d2..f59c153ae85ba633ce1c75870c180b7b9a69c7e4 100644
|
| --- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp
|
| @@ -791,8 +791,9 @@ TEST_P(VisualViewportTest, TestAttachingNewFrameSetsInnerScrollLayerSize) {
|
| // Ensure the scroll layer matches the frame view's size.
|
| EXPECT_SIZE_EQ(FloatSize(320, 240), visualViewport.ScrollLayer()->Size());
|
|
|
| - EXPECT_EQ(static_cast<int>(CompositorSubElementId::kViewport),
|
| - visualViewport.ScrollLayer()->GetElementId().secondaryId);
|
| + EXPECT_EQ(CompositorSubElementId::kViewport,
|
| + SubElementIdFromCompositorElementId(
|
| + visualViewport.ScrollLayer()->GetElementId()));
|
|
|
| // Ensure the location and scale were reset.
|
| EXPECT_SIZE_EQ(FloatSize(), visualViewport.GetScrollOffset());
|
|
|