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

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

Issue 2619393002: Rewrite how paint properties are built with bg:fixed main thread scrolling (Closed)
Patch Set: Created 3 years, 11 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 b1c63fa09a9a0f0b828fb93bc29349eee8856b2c..76339c18e9f23969b9a83b58501c3c737cf9be1a 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp
@@ -2873,10 +2873,8 @@ TEST_P(PaintPropertyTreeBuilderTest, MainThreadScrollReasonsWithoutScrolling) {
"<div class='forceScroll'></div>");
Element* overflow = document().getElementById("overflow");
EXPECT_TRUE(frameScroll()->hasBackgroundAttachmentFixedDescendants());
- EXPECT_TRUE(overflow->layoutObject()
- ->paintProperties()
- ->scroll()
- ->hasBackgroundAttachmentFixedDescendants());
+ // No scroll node is needed.
+ EXPECT_EQ(overflow->layoutObject()->paintProperties()->scroll(), nullptr);
}
TEST_P(PaintPropertyTreeBuilderTest, PaintOffsetsUnderMultiColumn) {

Powered by Google App Engine
This is Rietveld 408576698