Index: Source/core/html/HTMLOptGroupElement.cpp |
diff --git a/Source/core/html/HTMLOptGroupElement.cpp b/Source/core/html/HTMLOptGroupElement.cpp |
index 1f1a4130aa0caff817bf9eacb4a8fd9dc4c9d8dc..c074d37efea2a762a666b84819148dbbd48a498f 100644 |
--- a/Source/core/html/HTMLOptGroupElement.cpp |
+++ b/Source/core/html/HTMLOptGroupElement.cpp |
@@ -106,13 +106,9 @@ RenderStyle* HTMLOptGroupElement::nonRendererStyle() const |
PassRefPtr<RenderStyle> HTMLOptGroupElement::customStyleForRenderer() |
{ |
- return m_style; |
-} |
- |
-void HTMLOptGroupElement::willRecalcStyle(StyleRecalcChange change) |
-{ |
- if (!needsAttach() && (needsStyleRecalc() || change >= Inherit)) |
+ if (!needsAttach()) |
updateNonRenderStyle(); |
esprehn
2014/02/14 00:46:20
Why do you skip this for reattach?
rune
2014/02/14 09:42:08
Done.
|
+ return m_style; |
} |
String HTMLOptGroupElement::groupLabelText() const |