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

Unified Diff: Source/core/html/HTMLOptionElement.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/HTMLOptionElement.h ('k') | Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOptionElement.cpp
diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp
index c103b7acbcee74d8b7e1dda3124d9c4991cca1cf..4577ef3649dcc56de78a9bc52ba9132201a6063b 100644
--- a/Source/core/html/HTMLOptionElement.cpp
+++ b/Source/core/html/HTMLOptionElement.cpp
@@ -317,7 +317,7 @@ void HTMLOptionElement::updateNonComputedStyle()
{
m_style = originalStyleForLayoutObject();
if (HTMLSelectElement* select = ownerSelectElement())
- select->updateListOnRenderer();
+ select->updateListOnLayoutObject();
}
ComputedStyle* HTMLOptionElement::nonLayoutObjectComputedStyle() const
@@ -338,8 +338,8 @@ void HTMLOptionElement::didRecalcStyle(StyleRecalcChange change)
// FIXME: We ask our owner select to repaint regardless of which property changed.
if (HTMLSelectElement* select = ownerSelectElement()) {
- if (LayoutObject* renderer = select->layoutObject())
- renderer->setShouldDoFullPaintInvalidation();
+ if (LayoutObject* layoutObject = select->layoutObject())
+ layoutObject->setShouldDoFullPaintInvalidation();
}
}
« no previous file with comments | « Source/core/html/HTMLOptionElement.h ('k') | Source/core/html/HTMLPlugInElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698