Commit 0825d4cd authored by David Bokan's avatar David Bokan Committed by Commit Bot

Remove Border-radius MainThreadScrollingReason

Seems that this is no longer used as a main thread scrolling reason.

Change-Id: I6edbb0e936a996f59ed586b8225ba42212ea355e
Reviewed-on: https://chromium-review.googlesource.com/c/1296316Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602035}
parent 5f3557d0
...@@ -47,8 +47,6 @@ void MainThreadScrollingReason::AddToTracedValue( ...@@ -47,8 +47,6 @@ void MainThreadScrollingReason::AddToTracedValue(
traced_value.AppendString("Has transform and LCD text"); traced_value.AppendString("Has transform and LCD text");
if (reasons & kBackgroundNotOpaqueInRectAndLCDText) if (reasons & kBackgroundNotOpaqueInRectAndLCDText)
traced_value.AppendString("Background is not opaque in rect and LCD text"); traced_value.AppendString("Background is not opaque in rect and LCD text");
if (reasons & kHasBorderRadius)
traced_value.AppendString("Has border radius");
if (reasons & kHasClipRelatedProperty) if (reasons & kHasClipRelatedProperty)
traced_value.AppendString("Has clip related property"); traced_value.AppendString("Has clip related property");
if (reasons & kHasBoxShadowFromNonRootLayer) if (reasons & kHasBoxShadowFromNonRootLayer)
......
...@@ -46,7 +46,6 @@ struct CC_EXPORT MainThreadScrollingReason { ...@@ -46,7 +46,6 @@ struct CC_EXPORT MainThreadScrollingReason {
kHasOpacityAndLCDText = 1 << 16, kHasOpacityAndLCDText = 1 << 16,
kHasTransformAndLCDText = 1 << 17, kHasTransformAndLCDText = 1 << 17,
kBackgroundNotOpaqueInRectAndLCDText = 1 << 18, kBackgroundNotOpaqueInRectAndLCDText = 1 << 18,
kHasBorderRadius = 1 << 19,
kHasClipRelatedProperty = 1 << 20, kHasClipRelatedProperty = 1 << 20,
kHasBoxShadowFromNonRootLayer = 1 << 21, kHasBoxShadowFromNonRootLayer = 1 << 21,
kIsNotStackingContextAndLCDText = 1 << 22, kIsNotStackingContextAndLCDText = 1 << 22,
...@@ -72,9 +71,8 @@ struct CC_EXPORT MainThreadScrollingReason { ...@@ -72,9 +71,8 @@ struct CC_EXPORT MainThreadScrollingReason {
static const uint32_t kNonCompositedReasons = static const uint32_t kNonCompositedReasons =
kHasOpacityAndLCDText | kHasTransformAndLCDText | kHasOpacityAndLCDText | kHasTransformAndLCDText |
kBackgroundNotOpaqueInRectAndLCDText | kHasBorderRadius | kBackgroundNotOpaqueInRectAndLCDText | kHasClipRelatedProperty |
kHasClipRelatedProperty | kHasBoxShadowFromNonRootLayer | kHasBoxShadowFromNonRootLayer | kIsNotStackingContextAndLCDText;
kIsNotStackingContextAndLCDText;
// Returns true if the given MainThreadScrollingReason can be set by the main // Returns true if the given MainThreadScrollingReason can be set by the main
// thread. // thread.
......
...@@ -16,13 +16,14 @@ TEST_F(MainThreadScrollingReasonTest, AsText) { ...@@ -16,13 +16,14 @@ TEST_F(MainThreadScrollingReasonTest, AsText) {
"Has background-attachment:fixed," "Has background-attachment:fixed,"
"Has non-layer viewport-constrained objects," "Has non-layer viewport-constrained objects,"
"Threaded scrolling is disabled," "Threaded scrolling is disabled,"
"Scrollbar scrolling,Page overlay," "Scrollbar scrolling,"
"Page overlay,"
"Handling scroll from main thread," "Handling scroll from main thread,"
"Custom scrollbar scrolling," "Custom scrollbar scrolling,"
"Has opacity and LCD text," "Has opacity and LCD text,"
"Has transform and LCD text," "Has transform and LCD text,"
"Background is not opaque in rect and LCD text," "Background is not opaque in rect and LCD text,"
"Has border radius,Has clip related property," "Has clip related property,"
"Has box shadow from non-root layer," "Has box shadow from non-root layer,"
"Is not stacking context and LCD text," "Is not stacking context and LCD text,"
"Non fast scrollable region," "Non fast scrollable region,"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment