| Index: third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| index ed9afd7b6a38f98c8a5cac9fc199c402502a0738..24c798ea6e2e1b5a7259c34e4ab1fd31c2e7f6e0 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
|
| @@ -112,13 +112,13 @@ void RadioInputType::handleKeydownEvent(KeyboardEvent* event) {
|
|
|
| // We can only stay within the form's children if the form hasn't been demoted
|
| // to a leaf because of malformed HTML.
|
| - HTMLInputElement* inputElement = findNextFocusableRadioButtonInGroup(
|
| - toHTMLInputElement(&element()), forward);
|
| + HTMLInputElement* inputElement =
|
| + findNextFocusableRadioButtonInGroup(&element(), forward);
|
| if (!inputElement) {
|
| // Traverse in reverse direction till last or first radio button
|
| forward = !(forward);
|
| - HTMLInputElement* nextInputElement = findNextFocusableRadioButtonInGroup(
|
| - toHTMLInputElement(&element()), forward);
|
| + HTMLInputElement* nextInputElement =
|
| + findNextFocusableRadioButtonInGroup(&element(), forward);
|
| while (nextInputElement) {
|
| inputElement = nextInputElement;
|
| nextInputElement =
|
|
|