Index: Source/core/rendering/RenderSlider.h |
diff --git a/Source/core/rendering/RenderSlider.h b/Source/core/rendering/RenderSlider.h |
index 53085a3388c80fbcae04fe9401964ecd9e896058..8aee5264bd366506928ca6374e5fcad69bb9cdbf 100644 |
--- a/Source/core/rendering/RenderSlider.h |
+++ b/Source/core/rendering/RenderSlider.h |
@@ -39,7 +39,7 @@ public: |
private: |
virtual const char* renderName() const OVERRIDE { return "RenderSlider"; } |
- virtual bool isSlider() const OVERRIDE { return true; } |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectSlider || RenderFlexibleBox::isOfType(type); } |
virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE; |
virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE; |