Index: Source/core/rendering/RenderBlockFlow.cpp |
diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp |
index ee4ec5e29678b86ea293ae31f9a2c3e220af9b2d..c7e3b3d8d866a95aabca32a14da52f328b290d1f 100644 |
--- a/Source/core/rendering/RenderBlockFlow.cpp |
+++ b/Source/core/rendering/RenderBlockFlow.cpp |
@@ -37,12 +37,12 @@ |
#include "core/frame/Settings.h" |
#include "core/html/HTMLDialogElement.h" |
#include "core/layout/HitTestLocation.h" |
+#include "core/layout/Layer.h" |
#include "core/layout/line/LineBreaker.h" |
#include "core/layout/line/LineWidth.h" |
#include "core/paint/BlockFlowPainter.h" |
#include "core/paint/RenderDrawingRecorder.h" |
#include "core/rendering/RenderFlowThread.h" |
-#include "core/rendering/RenderLayer.h" |
#include "core/rendering/RenderMultiColumnFlowThread.h" |
#include "core/rendering/RenderMultiColumnSpannerPlaceholder.h" |
#include "core/rendering/RenderPagedFlowThread.h" |
@@ -367,7 +367,7 @@ void RenderBlockFlow::layoutBlock(bool relayoutChildren) |
if (m_paintInvalidationLogicalTop != m_paintInvalidationLogicalBottom) { |
bool hasVisibleContent = style()->visibility() == VISIBLE; |
if (!hasVisibleContent) { |
- RenderLayer* layer = enclosingLayer(); |
+ Layer* layer = enclosingLayer(); |
layer->updateDescendantDependentFlags(); |
hasVisibleContent = layer->hasVisibleContent(); |
} |
@@ -1349,7 +1349,7 @@ void RenderBlockFlow::adjustPositionedBlock(RenderBox& child, const MarginInfo& |
logicalTop += collapsedBeforePos - collapsedBeforeNeg; |
} |
- RenderLayer* childLayer = child.layer(); |
+ Layer* childLayer = child.layer(); |
if (childLayer->staticBlockPosition() != logicalTop) { |
childLayer->setStaticBlockPosition(logicalTop); |
if (hasStaticBlockPosition) |
@@ -2691,16 +2691,16 @@ LayoutUnit RenderBlockFlow::logicalRightFloatOffsetForLine(LayoutUnit logicalTop |
return fixedOffset; |
} |
-LayoutRect RenderBlockFlow::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const |
+LayoutRect RenderBlockFlow::selectionRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer) const |
{ |
LayoutRect rect = selectionGapRectsForPaintInvalidation(paintInvalidationContainer); |
// FIXME: groupedMapping() leaks the squashing abstraction. |
if (paintInvalidationContainer->layer()->groupedMapping()) |
- RenderLayer::mapRectToPaintBackingCoordinates(paintInvalidationContainer, rect); |
+ Layer::mapRectToPaintBackingCoordinates(paintInvalidationContainer, rect); |
return rect; |
} |
-GapRects RenderBlockFlow::selectionGapRectsForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const |
+GapRects RenderBlockFlow::selectionGapRectsForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer) const |
{ |
ASSERT(!needsLayout()); |