diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/forms/slider_thumb_element.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/forms/slider_thumb_element.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/forms/slider_thumb_element.cc b/chromium/third_party/blink/renderer/core/html/forms/slider_thumb_element.cc index 8fbea89e7c5..21676c674ac 100644 --- a/chromium/third_party/blink/renderer/core/html/forms/slider_thumb_element.cc +++ b/chromium/third_party/blink/renderer/core/html/forms/slider_thumb_element.cc @@ -287,11 +287,13 @@ const AtomicString& SliderThumbElement::ShadowPseudoId() const { } } -scoped_refptr<ComputedStyle> SliderThumbElement::CustomStyleForLayoutObject() { +scoped_refptr<ComputedStyle> SliderThumbElement::CustomStyleForLayoutObject( + const StyleRecalcContext& style_recalc_context) { Element* host = OwnerShadowHost(); DCHECK(host); const ComputedStyle& host_style = host->ComputedStyleRef(); - scoped_refptr<ComputedStyle> style = OriginalStyleForLayoutObject(); + scoped_refptr<ComputedStyle> style = + OriginalStyleForLayoutObject(style_recalc_context); if (host_style.EffectiveAppearance() == kSliderVerticalPart) style->SetEffectiveAppearance(kSliderThumbVerticalPart); |