Commit 7b804188 authored by Oriol Brufau's avatar Oriol Brufau Committed by Commit Bot

[css-pseudo] Remove LayoutListMarker::AnonymousHasStylePropagationOverride

LayoutObject::AnonymousHasStylePropagationOverride is only called from
LayoutObject::PropagateStyleToAnonymousChildren, but only for anonymous
layout objects with a kPseudoIdNone style type.

However, LayoutListMarkers are no longer anonymous and they have a
kPseudoIdMarker style type. So the override is not used.

BUG=457718

Change-Id: Iae2bee6e9f68cdba1cd17529ecae73938f162c8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2080264Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Commit-Queue: Oriol Brufau <obrufau@igalia.com>
Cr-Commit-Position: refs/heads/master@{#745467}
parent 67bdb688
......@@ -116,7 +116,6 @@ class CORE_EXPORT LayoutListMarker final : public LayoutBox {
void StyleWillChange(StyleDifference,
const ComputedStyle& new_style) override;
void StyleDidChange(StyleDifference, const ComputedStyle* old_style) override;
bool AnonymousHasStylePropagationOverride() override { return true; }
String text_;
Persistent<StyleImage> image_;
......
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