Commit 38c33b54 authored by Xianzhu Wang's avatar Xianzhu Wang Committed by Commit Bot

[SPv175] Change a SPv2 condition to SPv175 in CaretDisplayItemClient

The condition actually applies to all SPv175+.

Bug: 771643
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I8f0910050c2e3e4b9b80a076bb951feaacf31166
Reviewed-on: https://chromium-review.googlesource.com/876956Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#530653}
parent 6a0f33fb
......@@ -91,7 +91,6 @@ crbug.com/771643 css3/filters/empty-element-with-filter.html [ Failure ]
crbug.com/771643 css3/filters/filterRegions.html [ Failure ]
crbug.com/771643 external/wpt/css/css-backgrounds/background-attachment-local/attachment-local-clipping-color-5.html [ Failure ]
crbug.com/771643 external/wpt/css/css-backgrounds/background-attachment-local/attachment-local-clipping-image-5.html [ Failure ]
crbug.com/771643 fast/forms/focus-on-control-with-zero-size.html [ Crash ]
crbug.com/771643 fast/reflections/reflection-masks-outset.html [ Pass Failure ]
crbug.com/771643 fast/replaced/width100percent-textarea.html [ Failure ]
crbug.com/771643 http/tests/misc/slow-loading-mask.html [ Failure ]
......
......@@ -252,10 +252,10 @@ void CaretDisplayItemClient::InvalidatePaintInCurrentLayoutBlock(
// paint invalidation.
if (IsImmediateFullPaintInvalidationReason(
layout_block_->FullPaintInvalidationReason()) ||
// For non-SPv2, kSubtreeInvalidationChecking may hint change of
// For SPv1, kSubtreeInvalidationChecking may hint change of
// paint offset. See ObjectPaintInvalidatorWithContext::
// invalidatePaintIfNeededWithComputedReason().
(!RuntimeEnabledFeatures::SlimmingPaintV2Enabled() &&
(!RuntimeEnabledFeatures::SlimmingPaintV175Enabled() &&
(context.subtree_flags &
PaintInvalidatorContext::kSubtreeInvalidationChecking))) {
object_invalidator.InvalidateDisplayItemClient(
......
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