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

Unified Diff: third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp

Issue 2859483006: cc: Enable composited border-radius scrolling.
Patch Set: Make respect-clip-for-non-composited-scrollers-when-prefering-compositing-to-lcd-text.html not a re… 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/web/tests/ScrollMetricsTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp b/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
index f97e7575ce125f47e7de5888eaff64ebf7a088e4..1984d8ef480fa618980ea2df2c4003f94cc316e4 100644
--- a/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
@@ -319,11 +319,10 @@ TEST_F(NonCompositedMainThreadScrollingReasonRecordTest, NestedScrollersTest) {
" .box { overflow:scroll; width: 100px; height: 100px; }"
" .translucent { opacity: 0.5; }"
" .transform { transform: scale(0.8); }"
- " .with-border-radius { border: 5px solid; border-radius: 5px; }"
" .spacer { height: 1000px; }"
" .composited { will-change: transform; }"
"</style>"
- "<div id='container' class='container with-border-radius'>"
+ "<div id='container' class='container'>"
" <div class='translucent box'>"
" <div id='inner' class='composited transform box'>"
" <div class='spacer'></div>"
@@ -348,9 +347,8 @@ TEST_F(NonCompositedMainThreadScrollingReasonRecordTest, NestedScrollersTest) {
EXPECT_WHEEL_BUCKET(kHasOpacityAndLCDText, 1);
EXPECT_WHEEL_BUCKET(kBackgroundNotOpaqueInRectAndLCDText, 1);
EXPECT_WHEEL_BUCKET(kIsNotStackingContextAndLCDText, 1);
- EXPECT_WHEEL_BUCKET(kHasBorderRadius, 1);
EXPECT_WHEEL_BUCKET(kHasTransformAndLCDText, 0);
- EXPECT_WHEEL_TOTAL(4);
+ EXPECT_WHEEL_TOTAL(3);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698