| Index: Source/core/html/RangeInputType.cpp
|
| diff --git a/Source/core/html/RangeInputType.cpp b/Source/core/html/RangeInputType.cpp
|
| index 14032a914795cd1b4a28159f2a4f40440235c4d1..dd700da3bd9d92f8d2e64a9ac3f26aa884d6c534 100644
|
| --- a/Source/core/html/RangeInputType.cpp
|
| +++ b/Source/core/html/RangeInputType.cpp
|
| @@ -44,22 +44,19 @@
|
| #include "core/dom/TouchList.h"
|
| #include "core/dom/shadow/ElementShadow.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| +#include "core/html/HTMLDataListElement.h"
|
| #include "core/html/HTMLDivElement.h"
|
| #include "core/html/HTMLInputElement.h"
|
| +#include "core/html/HTMLOptionElement.h"
|
| #include "core/html/InputTypeNames.h"
|
| #include "core/html/StepRange.h"
|
| #include "core/html/parser/HTMLParserIdioms.h"
|
| #include "core/html/shadow/SliderThumbElement.h"
|
| #include "core/platform/PlatformMouseEvent.h"
|
| #include "core/rendering/RenderSlider.h"
|
| -#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
|
| +#include "wtf/MathExtras.h"
|
| +#include "wtf/NonCopyingSort.h"
|
| +#include "wtf/PassOwnPtr.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -84,9 +81,7 @@ PassOwnPtr<InputType> RangeInputType::create(HTMLInputElement* element)
|
|
|
| RangeInputType::RangeInputType(HTMLInputElement* element)
|
| : InputType(element)
|
| -#if ENABLE(DATALIST_ELEMENT)
|
| , m_tickMarkValuesDirty(true)
|
| -#endif
|
| {
|
| }
|
|
|
| @@ -332,7 +327,6 @@ HTMLElement* RangeInputType::sliderTrackElement() const
|
| return sliderTrackElementOf(element());
|
| }
|
|
|
| -#if ENABLE(DATALIST_ELEMENT)
|
| void RangeInputType::listAttributeTargetChanged()
|
| {
|
| m_tickMarkValuesDirty = true;
|
| @@ -401,6 +395,5 @@ Decimal RangeInputType::findClosestTickMarkValue(const Decimal& value)
|
| return closestRight;
|
| return closestLeft;
|
| }
|
| -#endif
|
|
|
| } // namespace WebCore
|
|
|