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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp

Issue 2854493002: Store previous painting clip rects on FragmentData. (Closed)
Patch Set: none Created 3 years, 8 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/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());

Powered by Google App Engine
This is Rietveld 408576698