Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(795)

Unified Diff: Source/core/html/HTMLFormElement.cpp

Issue 181653002: Have Document::formController() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLFormControlElementWithState.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormElement.cpp
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
index b1540adc307e0e41163645fec3a734980d17a8a0..ab2c6b6d18be8684316bf0277d3cfb08a6e08fd6 100644
--- a/Source/core/html/HTMLFormElement.cpp
+++ b/Source/core/html/HTMLFormElement.cpp
@@ -84,7 +84,7 @@ PassRefPtr<HTMLFormElement> HTMLFormElement::create(Document& document)
HTMLFormElement::~HTMLFormElement()
{
- document().formController()->willDeleteForm(this);
+ document().formController().willDeleteForm(this);
}
bool HTMLFormElement::rendererIsNeeded(const RenderStyle& style)
@@ -775,7 +775,7 @@ bool HTMLFormElement::shouldAutocomplete() const
void HTMLFormElement::finishParsingChildren()
{
HTMLElement::finishParsingChildren();
- document().formController()->restoreControlStateIn(*this);
+ document().formController().restoreControlStateIn(*this);
m_didFinishParsingChildren = true;
}
« no previous file with comments | « Source/core/html/HTMLFormControlElementWithState.cpp ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698