| Index: Source/core/rendering/RenderReplaced.cpp
|
| diff --git a/Source/core/rendering/RenderReplaced.cpp b/Source/core/rendering/RenderReplaced.cpp
|
| index 77ed4a4ef57f8f80b8d4474da3917c53b64d0af6..e850413ca17d158737f9949751c8f4b97e75b1c4 100644
|
| --- a/Source/core/rendering/RenderReplaced.cpp
|
| +++ b/Source/core/rendering/RenderReplaced.cpp
|
| @@ -25,10 +25,10 @@
|
| #include "core/rendering/RenderReplaced.h"
|
|
|
| #include "core/editing/PositionWithAffinity.h"
|
| +#include "core/layout/Layer.h"
|
| #include "core/paint/ReplacedPainter.h"
|
| #include "core/rendering/RenderBlock.h"
|
| #include "core/rendering/RenderImage.h"
|
| -#include "core/rendering/RenderLayer.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "platform/LengthFunctions.h"
|
|
|
| @@ -426,7 +426,7 @@ PositionWithAffinity RenderReplaced::positionForPoint(const LayoutPoint& point)
|
| return RenderBox::positionForPoint(point);
|
| }
|
|
|
| -LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const
|
| +LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer) const
|
| {
|
| ASSERT(!needsLayout());
|
|
|
| @@ -437,7 +437,7 @@ LayoutRect RenderReplaced::selectionRectForPaintInvalidation(const RenderLayerMo
|
| mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
|
| // FIXME: groupedMapping() leaks the squashing abstraction.
|
| if (paintInvalidationContainer->layer()->groupedMapping())
|
| - RenderLayer::mapRectToPaintBackingCoordinates(paintInvalidationContainer, rect);
|
| + Layer::mapRectToPaintBackingCoordinates(paintInvalidationContainer, rect);
|
| return rect;
|
| }
|
|
|
| @@ -496,7 +496,7 @@ bool RenderReplaced::isSelected() const
|
| ASSERT(0);
|
| return false;
|
| }
|
| -LayoutRect RenderReplaced::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const
|
| +LayoutRect RenderReplaced::clippedOverflowRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const
|
| {
|
| if (style()->visibility() != VISIBLE && !enclosingLayer()->hasVisibleContent())
|
| return LayoutRect();
|
|
|