Index: Source/core/rendering/RenderTheme.cpp |
diff --git a/Source/core/rendering/RenderTheme.cpp b/Source/core/rendering/RenderTheme.cpp |
index 8d9e787c266e5e32b364d4f133cd77a930b3304c..4f7afe2f021567b6bbf34993887d8896a0549957 100644 |
--- a/Source/core/rendering/RenderTheme.cpp |
+++ b/Source/core/rendering/RenderTheme.cpp |
@@ -932,9 +932,9 @@ void RenderTheme::paintSliderTicks(RenderObject* o, const PaintInfo& paintInfo, |
RefPtr<HTMLCollection> options = dataList->options(); |
GraphicsContextStateSaver stateSaver(*paintInfo.context); |
paintInfo.context->setFillColor(o->resolveColor(CSSPropertyColor)); |
- for (unsigned i = 0; Node* node = options->item(i); i++) { |
- ASSERT(node->hasTagName(optionTag)); |
- HTMLOptionElement* optionElement = toHTMLOptionElement(node); |
+ for (unsigned i = 0; Element* element = options->item(i); i++) { |
+ ASSERT(element->hasTagName(optionTag)); |
+ HTMLOptionElement* optionElement = toHTMLOptionElement(element); |
String value = optionElement->value(); |
if (!input->isValidValue(value)) |
continue; |