| Index: Source/core/rendering/RenderText.cpp
|
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
|
| index c559b9a5669acc5bfdf8df4c1a5f6c5e3c385a70..0b60947549624b10107b3b6b9999602ec07c83b9 100644
|
| --- a/Source/core/rendering/RenderText.cpp
|
| +++ b/Source/core/rendering/RenderText.cpp
|
| @@ -32,12 +32,12 @@
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/html/parser/TextResourceDecoder.h"
|
| +#include "core/layout/Layer.h"
|
| #include "core/rendering/AbstractInlineTextBox.h"
|
| #include "core/rendering/EllipsisBox.h"
|
| #include "core/rendering/InlineTextBox.h"
|
| #include "core/rendering/RenderBlock.h"
|
| #include "core/rendering/RenderCombineText.h"
|
| -#include "core/rendering/RenderLayer.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "core/rendering/TextRunConstructor.h"
|
| #include "platform/fonts/Character.h"
|
| @@ -1338,7 +1338,7 @@ UChar RenderText::previousCharacter() const
|
| return prev;
|
| }
|
|
|
| -void RenderText::addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const
|
| +void RenderText::addLayerHitTestRects(LayerHitTestRects&, const Layer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const
|
| {
|
| // Text nodes aren't event targets, so don't descend any further.
|
| }
|
| @@ -1594,7 +1594,7 @@ LayoutRect RenderText::linesVisualOverflowBoundingBox() const
|
| return rect;
|
| }
|
|
|
| -LayoutRect RenderText::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const
|
| +LayoutRect RenderText::clippedOverflowRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const
|
| {
|
| if (style()->visibility() != VISIBLE)
|
| return LayoutRect();
|
| @@ -1604,7 +1604,7 @@ LayoutRect RenderText::clippedOverflowRectForPaintInvalidation(const RenderLayer
|
| return paintInvalidationRect;
|
| }
|
|
|
| -LayoutRect RenderText::selectionRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const
|
| +LayoutRect RenderText::selectionRectForPaintInvalidation(const LayoutLayerModelObject* paintInvalidationContainer) const
|
| {
|
| ASSERT(!needsLayout());
|
|
|
| @@ -1641,7 +1641,7 @@ LayoutRect RenderText::selectionRectForPaintInvalidation(const RenderLayerModelO
|
| mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, 0);
|
| // FIXME: groupedMapping() leaks the squashing abstraction.
|
| if (paintInvalidationContainer->layer()->groupedMapping())
|
| - RenderLayer::mapRectToPaintBackingCoordinates(paintInvalidationContainer, rect);
|
| + Layer::mapRectToPaintBackingCoordinates(paintInvalidationContainer, rect);
|
| return rect;
|
| }
|
|
|
|
|