| 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();
|
| }
|
| }
|
|
|
|
|