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

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

Issue 1115353002: Update renderer to layoutObject in core/html. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/HTMLEmbedElement.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormControlElement.cpp
diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp
index e343eeb547e87a29dabb3ef5a9de862379373682..92667795a8a6e3a4a6594f2cc2ce414b2930150b 100644
--- a/Source/core/html/HTMLFormControlElement.cpp
+++ b/Source/core/html/HTMLFormControlElement.cpp
@@ -237,7 +237,7 @@ void HTMLFormControlElement::attach(const AttachContext& context)
// The call to updateFromElement() needs to go after the call through
// to the base class's attach() because that can sometimes do a close
- // on the renderer.
+ // on the layoutObject.
layoutObject()->updateFromElement();
// FIXME: Autofocus handling should be moved to insertedInto according to
@@ -360,8 +360,8 @@ String HTMLFormControlElement::resultForDialogSubmit()
void HTMLFormControlElement::didRecalcStyle(StyleRecalcChange)
{
- if (LayoutObject* renderer = this->layoutObject())
- renderer->updateFromElement();
+ if (LayoutObject* layoutObject = this->layoutObject())
+ layoutObject->updateFromElement();
}
bool HTMLFormControlElement::supportsFocus() const
« no previous file with comments | « Source/core/html/HTMLEmbedElement.cpp ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698