| Index: Source/core/html/RangeInputType.cpp
|
| diff --git a/Source/core/html/RangeInputType.cpp b/Source/core/html/RangeInputType.cpp
|
| index 75ebd800e32e7491758dea27d221b053ffc00433..7d2ddfa9f2d8fa20b37eba977cd6f4c3e76051a7 100644
|
| --- a/Source/core/html/RangeInputType.cpp
|
| +++ b/Source/core/html/RangeInputType.cpp
|
| @@ -55,11 +55,9 @@
|
| #include <wtf/MathExtras.h>
|
| #include <wtf/PassOwnPtr.h>
|
|
|
| -#if ENABLE(DATALIST_ELEMENT)
|
| #include "core/html/HTMLDataListElement.h"
|
| #include "core/html/HTMLOptionElement.h"
|
| #include <wtf/NonCopyingSort.h>
|
| -#endif
|
|
|
| namespace WebCore {
|
|
|
| @@ -84,9 +82,7 @@ PassOwnPtr<InputType> RangeInputType::create(HTMLInputElement* element)
|
|
|
| RangeInputType::RangeInputType(HTMLInputElement* element)
|
| : InputType(element)
|
| -#if ENABLE(DATALIST_ELEMENT)
|
| , m_tickMarkValuesDirty(true)
|
| -#endif
|
| {
|
| }
|
|
|
| @@ -332,7 +328,6 @@ HTMLElement* RangeInputType::sliderTrackElement() const
|
| return sliderTrackElementOf(element());
|
| }
|
|
|
| -#if ENABLE(DATALIST_ELEMENT)
|
| void RangeInputType::listAttributeTargetChanged()
|
| {
|
| m_tickMarkValuesDirty = true;
|
| @@ -401,6 +396,5 @@ Decimal RangeInputType::findClosestTickMarkValue(const Decimal& value)
|
| return closestRight;
|
| return closestLeft;
|
| }
|
| -#endif
|
|
|
| } // namespace WebCore
|
|
|