| Index: Source/WebCore/rendering/RenderSelectionInfo.h
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderSelectionInfo.h (revision 112604)
|
| +++ Source/WebCore/rendering/RenderSelectionInfo.h (working copy)
|
| @@ -62,7 +62,7 @@
|
| public:
|
| RenderSelectionInfo(RenderObject* o, bool clipToVisibleContent)
|
| : RenderSelectionInfoBase(o)
|
| - , m_rect(o->needsLayout() ? LayoutRect() : o->selectionRectForRepaint(m_repaintContainer, clipToVisibleContent))
|
| + , m_rect(o->canUpdateSelectionOnRootLineBoxes() ? o->selectionRectForRepaint(m_repaintContainer, clipToVisibleContent) : LayoutRect())
|
| {
|
| }
|
|
|
| @@ -83,7 +83,7 @@
|
| public:
|
| RenderBlockSelectionInfo(RenderBlock* b)
|
| : RenderSelectionInfoBase(b)
|
| - , m_rects(b->needsLayout() ? GapRects() : block()->selectionGapRectsForRepaint(m_repaintContainer))
|
| + , m_rects(b->canUpdateSelectionOnRootLineBoxes() ? block()->selectionGapRectsForRepaint(m_repaintContainer) : GapRects())
|
| {
|
| }
|
|
|
|
|