| Index: Source/core/html/HTMLLegendElement.cpp
|
| diff --git a/Source/core/html/HTMLLegendElement.cpp b/Source/core/html/HTMLLegendElement.cpp
|
| index 515932622ead34d0dcf065c1f2abef1ba0e1fe73..0114eb5e057fd8f0f6f8d6d8b25d9d0df3fa8511 100644
|
| --- a/Source/core/html/HTMLLegendElement.cpp
|
| +++ b/Source/core/html/HTMLLegendElement.cpp
|
| @@ -59,7 +59,7 @@ HTMLFormControlElement* HTMLLegendElement::associatedControl()
|
| // Find first form element inside the fieldset that is not a legend element.
|
| // FIXME: Should we consider tabindex?
|
| Element* element = fieldset;
|
| - while ((element = ElementTraversal::next(element, fieldset))) {
|
| + while ((element = ElementTraversal::next(*element, fieldset))) {
|
| if (element->isFormControlElement())
|
| return toHTMLFormControlElement(element);
|
| }
|
|
|