| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index f96b3e8e279e98f33374b337fd121df94b189e8f..22b8f9ca66bf93bfdce2ba94bb0490a6b8c887f5 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -1335,12 +1335,12 @@ void RenderObject::paint(PaintInfo&, const LayoutPoint&)
|
| {
|
| }
|
|
|
| -RenderLayerModelObject* RenderObject::containerForRepaint() const
|
| +const RenderLayerModelObject* RenderObject::containerForRepaint() const
|
| {
|
| if (!isRooted())
|
| return 0;
|
|
|
| - RenderLayerModelObject* repaintContainer = 0;
|
| + const RenderLayerModelObject* repaintContainer = 0;
|
|
|
| RenderView* renderView = view();
|
| if (renderView->usesCompositing()) {
|
| @@ -1449,7 +1449,7 @@ void RenderObject::repaint() const
|
| // FIXME: really, we're in the repaint phase here, and the following queries are legal.
|
| // Until those states are fully fledged, I'll just disable the ASSERTS.
|
| DisableCompositingQueryAsserts disabler;
|
| - RenderLayerModelObject* repaintContainer = containerForRepaint();
|
| + const RenderLayerModelObject* repaintContainer = containerForRepaint();
|
| repaintUsingContainer(repaintContainer, pixelSnappedIntRect(clippedOverflowRectForRepaint(repaintContainer)), InvalidationRepaint);
|
| }
|
|
|
| @@ -1469,7 +1469,7 @@ void RenderObject::repaintRectangle(const LayoutRect& r) const
|
| dirtyRect.move(view()->layoutDelta());
|
| }
|
|
|
| - RenderLayerModelObject* repaintContainer = containerForRepaint();
|
| + const RenderLayerModelObject* repaintContainer = containerForRepaint();
|
| computeRectForRepaint(repaintContainer, dirtyRect);
|
| repaintUsingContainer(repaintContainer, pixelSnappedIntRect(dirtyRect), InvalidationRepaintRectangle);
|
| }
|
|
|