Index: Source/core/rendering/RenderSelectionInfo.h |
diff --git a/Source/core/rendering/RenderSelectionInfo.h b/Source/core/rendering/RenderSelectionInfo.h |
index 3f379728ff19e7441502bfd3deeb8f84fc35471f..7a1b158a988adb777997e5ae7fb3af1be91824f1 100644 |
--- a/Source/core/rendering/RenderSelectionInfo.h |
+++ b/Source/core/rendering/RenderSelectionInfo.h |
@@ -42,7 +42,7 @@ public: |
RenderSelectionInfoBase(RenderObject* o) |
: m_object(o) |
- , m_repaintContainer(o->containerForRepaint()) |
+ , m_repaintContainer(o->containerForPaintInvalidation()) |
, m_state(o->selectionState()) |
{ |
} |
@@ -62,7 +62,7 @@ class RenderSelectionInfo : public RenderSelectionInfoBase { |
public: |
RenderSelectionInfo(RenderObject* o, bool clipToVisibleContent) |
: RenderSelectionInfoBase(o) |
- , m_rect(o->canUpdateSelectionOnRootLineBoxes() ? o->selectionRectForRepaint(m_repaintContainer, clipToVisibleContent) : LayoutRect()) |
+ , m_rect(o->canUpdateSelectionOnRootLineBoxes() ? o->selectionRectForPaintInvalidation(m_repaintContainer, clipToVisibleContent) : LayoutRect()) |
{ |
} |