| 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 fcd36e4c43633421e0013b08ff347aedf3399e9b..135ff16f852eca03f6ce74cbb3be5f9d126bf4bc 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -1759,6 +1759,14 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const
|
| return nullptr;
|
| }
|
|
|
| +unsigned HTMLInputElement::sizeOfRadioGroup() const
|
| +{
|
| + RadioButtonGroupScope* scope = radioButtonGroupScope();
|
| + if (!scope)
|
| + return 0;
|
| + return scope->groupSizeFor(this);
|
| +}
|
| +
|
| inline void HTMLInputElement::addToRadioButtonGroup()
|
| {
|
| if (RadioButtonGroupScope* scope = radioButtonGroupScope())
|
|
|