| Index: Source/core/html/HTMLFormControlElementWithState.cpp
|
| diff --git a/Source/core/html/HTMLFormControlElementWithState.cpp b/Source/core/html/HTMLFormControlElementWithState.cpp
|
| index 9e862f527565638859cd9f753ed844d0950fd3a0..2a45aedf474f1b45475ff53f7531747424044859 100644
|
| --- a/Source/core/html/HTMLFormControlElementWithState.cpp
|
| +++ b/Source/core/html/HTMLFormControlElementWithState.cpp
|
| @@ -46,14 +46,14 @@ HTMLFormControlElementWithState::~HTMLFormControlElementWithState()
|
| Node::InsertionNotificationRequest HTMLFormControlElementWithState::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| if (insertionPoint->inDocument() && !containingShadowRoot())
|
| - document()->formController()->registerFormElementWithState(this);
|
| + document().formController()->registerFormElementWithState(this);
|
| return HTMLFormControlElement::insertedInto(insertionPoint);
|
| }
|
|
|
| void HTMLFormControlElementWithState::removedFrom(ContainerNode* insertionPoint)
|
| {
|
| if (insertionPoint->inDocument() && !containingShadowRoot() && !insertionPoint->containingShadowRoot())
|
| - document()->formController()->unregisterFormElementWithState(this);
|
| + document().formController()->unregisterFormElementWithState(this);
|
| HTMLFormControlElement::removedFrom(insertionPoint);
|
| }
|
|
|
| @@ -66,7 +66,7 @@ bool HTMLFormControlElementWithState::shouldAutocomplete() const
|
|
|
| void HTMLFormControlElementWithState::notifyFormStateChanged()
|
| {
|
| - Frame* frame = document()->frame();
|
| + Frame* frame = document().frame();
|
| if (!frame)
|
| return;
|
|
|
| @@ -88,7 +88,7 @@ FormControlState HTMLFormControlElementWithState::saveFormControlState() const
|
| void HTMLFormControlElementWithState::finishParsingChildren()
|
| {
|
| HTMLFormControlElement::finishParsingChildren();
|
| - document()->formController()->restoreControlStateFor(*this);
|
| + document().formController()->restoreControlStateFor(*this);
|
| }
|
|
|
| bool HTMLFormControlElementWithState::isFormControlElementWithState() const
|
|
|