| Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| index dba5ef41a41c4e8c6a006f724806722e8520a8bc..1d1fc3b29b17641308b1d063597918da10c980d4 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -1476,13 +1476,15 @@ void HTMLInputElement::updateClearButtonVisibility() {
|
| }
|
|
|
| void HTMLInputElement::willChangeForm() {
|
| - removeFromRadioButtonGroup();
|
| + if (m_inputType)
|
| + removeFromRadioButtonGroup();
|
| TextControlElement::willChangeForm();
|
| }
|
|
|
| void HTMLInputElement::didChangeForm() {
|
| TextControlElement::didChangeForm();
|
| - addToRadioButtonGroup();
|
| + if (m_inputType)
|
| + addToRadioButtonGroup();
|
| }
|
|
|
| Node::InsertionNotificationRequest HTMLInputElement::insertedInto(
|
|
|