Index: Source/WebCore/rendering/RenderWidget.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderWidget.cpp (revision 110458) |
+++ Source/WebCore/rendering/RenderWidget.cpp (working copy) |
@@ -359,11 +359,11 @@ |
void RenderWidget::setSelectionState(SelectionState state) |
{ |
- if (selectionState() != state) { |
- RenderReplaced::setSelectionState(state); |
- if (m_widget) |
- m_widget->setIsSelected(isSelected()); |
- } |
+ // The selection state for our containing block hierarchy is updated by the base class call. |
+ RenderReplaced::setSelectionState(state); |
+ |
+ if (m_widget) |
+ m_widget->setIsSelected(isSelected()); |
} |
void RenderWidget::clearWidget() |