Index: Source/core/html/shadow/SliderThumbElement.cpp |
diff --git a/Source/core/html/shadow/SliderThumbElement.cpp b/Source/core/html/shadow/SliderThumbElement.cpp |
index c3e81a2ef8d9b807d2e044ecef435b6a90e21ac0..5f5619881d1de1bb9db13822ecc94905a2091cbc 100644 |
--- a/Source/core/html/shadow/SliderThumbElement.cpp |
+++ b/Source/core/html/shadow/SliderThumbElement.cpp |
@@ -54,7 +54,7 @@ using namespace HTMLNames; |
inline static bool hasVerticalAppearance(HTMLInputElement* input) |
{ |
ASSERT(input->layoutObject()); |
- const LayoutStyle& sliderStyle = input->layoutObject()->styleRef(); |
+ const ComputedStyle& sliderStyle = input->layoutObject()->styleRef(); |
return sliderStyle.appearance() == SliderVerticalPart; |
} |
@@ -81,7 +81,7 @@ void SliderThumbElement::setPositionFromValue() |
layoutObject()->setNeedsLayoutAndFullPaintInvalidation(); |
} |
-LayoutObject* SliderThumbElement::createLayoutObject(const LayoutStyle&) |
+LayoutObject* SliderThumbElement::createLayoutObject(const ComputedStyle&) |
{ |
return new LayoutSliderThumb(this); |
} |
@@ -283,7 +283,7 @@ const AtomicString& SliderThumbElement::shadowPseudoId() const |
if (!input || !input->layoutObject()) |
return sliderThumbShadowPartId(); |
- const LayoutStyle& sliderStyle = input->layoutObject()->styleRef(); |
+ const ComputedStyle& sliderStyle = input->layoutObject()->styleRef(); |
switch (sliderStyle.appearance()) { |
case MediaSliderPart: |
case MediaSliderThumbPart: |
@@ -306,7 +306,7 @@ inline SliderContainerElement::SliderContainerElement(Document& document) |
DEFINE_NODE_FACTORY(SliderContainerElement) |
-LayoutObject* SliderContainerElement::createLayoutObject(const LayoutStyle&) |
+LayoutObject* SliderContainerElement::createLayoutObject(const ComputedStyle&) |
{ |
return new LayoutSliderContainer(this); |
} |
@@ -319,7 +319,7 @@ const AtomicString& SliderContainerElement::shadowPseudoId() const |
if (!shadowHost() || !shadowHost()->layoutObject()) |
return sliderContainer; |
- const LayoutStyle& sliderStyle = shadowHost()->layoutObject()->styleRef(); |
+ const ComputedStyle& sliderStyle = shadowHost()->layoutObject()->styleRef(); |
switch (sliderStyle.appearance()) { |
case MediaSliderPart: |
case MediaSliderThumbPart: |