Index: Source/core/html/HTMLOptGroupElement.cpp |
diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp |
index cb9061911dd779a1222693b26f8ef9750f827749..87f6efd2ec58581a869e82e8e5b2967b091b81a1 100644 |
--- a/Source/core/html/HTMLOptGroupElement.cpp |
+++ b/Source/core/html/HTMLOptGroupElement.cpp |
@@ -109,7 +109,7 @@ bool HTMLOptGroupElement::supportsFocus() const |
void HTMLOptGroupElement::updateNonLayoutStyle() |
{ |
m_style = originalStyleForRenderer(); |
- if (renderer()) { |
+ if (layoutObject()) { |
if (HTMLSelectElement* select = ownerSelectElement()) |
select->updateListOnRenderer(); |
} |