| Index: Source/core/rendering/RenderView.cpp
|
| diff --git a/Source/core/rendering/RenderView.cpp b/Source/core/rendering/RenderView.cpp
|
| index 690bbe7bad503511865c8e8253912b0b0c85e2d6..68db6300b10aefcaf2e363854282cc26ef58b149 100644
|
| --- a/Source/core/rendering/RenderView.cpp
|
| +++ b/Source/core/rendering/RenderView.cpp
|
| @@ -534,7 +534,7 @@ IntRect RenderView::selectionBounds(bool clipToVisibleContent) const
|
| RenderSelectionInfo* info = i->value.get();
|
| // RenderSelectionInfo::rect() is in the coordinates of the repaintContainer, so map to page coordinates.
|
| LayoutRect currRect = info->rect();
|
| - if (RenderLayerModelObject* repaintContainer = info->repaintContainer()) {
|
| + if (const RenderLayerModelObject* repaintContainer = info->repaintContainer()) {
|
| FloatQuad absQuad = repaintContainer->localToAbsoluteQuad(FloatRect(currRect));
|
| currRect = absQuad.enclosingBoundingBox();
|
| }
|
|
|