Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 155a2f0aca6e5f4af0d6fbc248ca591b01804491..9a3ae1386de5dadc7486aefb07fb98efa27bb134 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -166,7 +166,7 @@ HTMLInputElement::~HTMLInputElement() |
// setForm(0) may register this to a document-level radio button group. |
// We should unregister it to avoid accessing a deleted object. |
if (isRadioButton()) |
- document().formController()->radioButtonGroupScope().removeButton(this); |
+ document().formController().radioButtonGroupScope().removeButton(this); |
if (m_hasTouchEventHandler) |
document().didRemoveTouchEventHandler(this); |
} |
@@ -1433,7 +1433,7 @@ void HTMLInputElement::didMoveToNewDocument(Document& oldDocument) |
imageLoader()->elementDidMoveToNewDocument(); |
if (isRadioButton()) |
- oldDocument.formController()->radioButtonGroupScope().removeButton(this); |
+ oldDocument.formController().radioButtonGroupScope().removeButton(this); |
if (m_hasTouchEventHandler) |
oldDocument.didRemoveTouchEventHandler(this); |
@@ -1726,7 +1726,7 @@ RadioButtonGroupScope* HTMLInputElement::radioButtonGroupScope() const |
if (HTMLFormElement* formElement = form()) |
return &formElement->radioButtonGroupScope(); |
if (inDocument()) |
- return &document().formController()->radioButtonGroupScope(); |
+ return &document().formController().radioButtonGroupScope(); |
return 0; |
} |