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 03cba21d8ca1fabba0b517620be266004b48713b..688653cc5d60ef1d20db5dc0e563ee4b9c43c82d 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -1749,6 +1749,22 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const |
return nullptr; |
} |
+unsigned HTMLInputElement::posInRadioGroup() |
+{ |
+ RadioButtonGroupScope* scope = radioButtonGroupScope(); |
+ if (!scope) |
+ return 0; |
+ return scope->posInGroup(this); |
+} |
+ |
+unsigned HTMLInputElement::sizeOfRadioGroup() |
+{ |
+ RadioButtonGroupScope* scope = radioButtonGroupScope(); |
+ if (!scope) |
+ return 0; |
+ return scope->sizeOfGroup(this); |
+} |
+ |
inline void HTMLInputElement::addToRadioButtonGroup() |
{ |
if (RadioButtonGroupScope* scope = radioButtonGroupScope()) |