Refactoring: Replace Element::disabled and isEnabledFormControl with isDisabledFormCo...
[WebKit-https.git] / Source / WebCore / html / shadow / SliderThumbElement.cpp
index 4d0f3d8..3cb857a 100644 (file)
@@ -221,14 +221,9 @@ RenderObject* SliderThumbElement::createRenderer(RenderArena* arena, RenderStyle
     return new (arena) RenderSliderThumb(this);
 }
 
-bool SliderThumbElement::disabled() const
+bool SliderThumbElement::isDisabledFormControl() const
 {
-    return hostInput()->disabled();
-}
-
-bool SliderThumbElement::isEnabledFormControl() const
-{
-    return !disabled();
+    return hostInput()->isDisabledFormControl();
 }
 
 bool SliderThumbElement::matchesReadOnlyPseudoClass() const