Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp |
index ee14870edf529da38ce10cd0220fcab32bd7e2e3..6547815f37c05ce8d82132c4674083b2f567a0a5 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp |
@@ -271,10 +271,8 @@ TEST_P(PaintPropertyTreeBuilderTest, FrameScrollingTraditional) { |
EXPECT_EQ(FloatRoundedRect(0, 0, 800, 600), FrameContentClip()->ClipRect()); |
EXPECT_TRUE(FrameContentClip()->Parent()->IsRoot()); |
- if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled()) { |
- // No scroll properties should be present. |
- EXPECT_EQ(nullptr, frame_view->GetLayoutView()->PaintProperties()); |
- } |
+ EXPECT_TRUE(frame_view->GetLayoutView()->PaintProperties()); |
+ |
CHECK_EXACT_VISUAL_RECT(LayoutRect(8, 8, 784, 10000), |
GetDocument().body()->GetLayoutObject(), |
frame_view->GetLayoutView()); |