| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index f96b3e8e279e98f33374b337fd121df94b189e8f..86555fa824b5c1bf87508c5ae090882762d41b25 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);
|
| }
|
| @@ -1536,7 +1536,7 @@ static PassRefPtr<JSONValue> jsonObjectForOldAndNewRects(const LayoutRect& oldRe
|
| }
|
|
|
| bool RenderObject::repaintAfterLayoutIfNeeded(const RenderLayerModelObject* repaintContainer, bool wasSelfLayout,
|
| - const LayoutRect& oldBounds, const LayoutPoint& oldLocation, const LayoutRect* newBoundsPtr, const LayoutPoint* newLocationPtr)
|
| + const LayoutRect& oldBounds, const LayoutPoint& oldLocation, const LayoutRect* newBoundsPtr, const LayoutPoint* newLocationPtr) const
|
| {
|
| RenderView* v = view();
|
| if (v->document().printing())
|
|
|