Index: third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
index 926f555cbfabde126fa139bac1ead9a12431de14..190e88218b378dece8e4ddf0295ad76780987722 100644 |
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
@@ -363,7 +363,7 @@ void RangeInputType::updateTickMarkValues() { |
String optionValue = optionElement->value(); |
if (!this->element().isValidValue(optionValue)) |
continue; |
- m_tickMarkValues.append(parseToNumber(optionValue, Decimal::nan())); |
+ m_tickMarkValues.push_back(parseToNumber(optionValue, Decimal::nan())); |
} |
m_tickMarkValues.shrinkToFit(); |
nonCopyingSort(m_tickMarkValues.begin(), m_tickMarkValues.end(), |