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

Unified Diff: Source/core/html/HTMLProgressElement.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/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLProgressElement.cpp
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp
index ecd91246387c658e668f253e223bb89147a09e80..cd46ad768222dd6dff834e54851a579920ec89e5 100644
--- a/Source/core/html/HTMLProgressElement.cpp
+++ b/Source/core/html/HTMLProgressElement.cpp
@@ -88,8 +88,8 @@ void HTMLProgressElement::parseAttribute(const QualifiedName& name, const Atomic
void HTMLProgressElement::attach(const AttachContext& context)
{
LabelableElement::attach(context);
- if (LayoutProgress* render = layoutProgress())
- render->updateFromElement();
+ if (LayoutProgress* layoutObject = layoutProgress())
+ layoutObject->updateFromElement();
}
double HTMLProgressElement::value() const
@@ -138,9 +138,9 @@ bool HTMLProgressElement::isDeterminate() const
void HTMLProgressElement::didElementStateChange()
{
m_value->setWidthPercentage(position() * 100);
- if (LayoutProgress* render = layoutProgress()) {
- bool wasDeterminate = render->isDeterminate();
- render->updateFromElement();
+ if (LayoutProgress* layoutObject = layoutProgress()) {
+ bool wasDeterminate = layoutObject->isDeterminate();
+ layoutObject->updateFromElement();
if (wasDeterminate != isDeterminate())
pseudoStateChanged(CSSSelector::PseudoIndeterminate);
}
« no previous file with comments | « Source/core/html/HTMLPlugInElement.cpp ('k') | Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698