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..c4da326e2c1b24a97bde0d42f2b47d8d1171a497 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -1648,6 +1648,11 @@ bool HTMLInputElement::isImage() const |
return m_inputType->isImage(); |
} |
+bool HTMLInputElement::isRadioButton() const |
+{ |
+ return m_inputType->isRadioButton(); |
+} |
+ |
bool HTMLInputElement::isEnumeratable() const |
{ |
return m_inputType->isEnumeratable(); |
@@ -1759,6 +1764,14 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const |
return nullptr; |
} |
+unsigned HTMLInputElement::sizeOfRadioGroup() const |
+{ |
+ RadioButtonGroupScope* scope = radioButtonGroupScope(); |
+ if (!scope) |
+ return 0; |
+ return scope->sizeOfGroup(this); |
+} |
+ |
inline void HTMLInputElement::addToRadioButtonGroup() |
{ |
if (RadioButtonGroupScope* scope = radioButtonGroupScope()) |