Chromium Code Reviews| Index: Source/core/html/RangeInputType.cpp |
| diff --git a/Source/core/html/RangeInputType.cpp b/Source/core/html/RangeInputType.cpp |
| index 14032a914795cd1b4a28159f2a4f40440235c4d1..aff432ba8b558a28580eee3888239498ef30a33b 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" |
|
tkent
2013/05/20 21:32:11
Please merge these #include to the above block.
|
| #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 |