| Index: Source/core/rendering/RenderBox.cpp
|
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
|
| index 8756ec20bba70887dee1193988a1d533d89cad40..25d3c276d7a174195d5c1fd7afa8a0c64db2cb6b 100644
|
| --- a/Source/core/rendering/RenderBox.cpp
|
| +++ b/Source/core/rendering/RenderBox.cpp
|
| @@ -612,30 +612,6 @@ void RenderBox::computeSelfHitTestRects(Vector<LayoutRect>& rects, const LayoutP
|
| rects.append(LayoutRect(layerOffset, size()));
|
| }
|
|
|
| -LayoutRect RenderBox::reflectionBox() const
|
| -{
|
| - LayoutRect result;
|
| - if (!style()->boxReflect())
|
| - return result;
|
| - LayoutRect box = borderBoxRect();
|
| - result = box;
|
| - switch (style()->boxReflect()->direction()) {
|
| - case ReflectionBelow:
|
| - result.move(0, box.height() + reflectionOffset());
|
| - break;
|
| - case ReflectionAbove:
|
| - result.move(0, -box.height() - reflectionOffset());
|
| - break;
|
| - case ReflectionLeft:
|
| - result.move(-box.width() - reflectionOffset(), 0);
|
| - break;
|
| - case ReflectionRight:
|
| - result.move(box.width() + reflectionOffset(), 0);
|
| - break;
|
| - }
|
| - return result;
|
| -}
|
| -
|
| int RenderBox::reflectionOffset() const
|
| {
|
| if (!style()->boxReflect())
|
| @@ -1462,30 +1438,6 @@ void RenderBox::paintMaskImages(const PaintInfo& paintInfo, const LayoutRect& pa
|
| paintInfo.context->endLayer();
|
| }
|
|
|
| -LayoutRect RenderBox::maskClipRect()
|
| -{
|
| - const NinePieceImage& maskBoxImage = style()->maskBoxImage();
|
| - if (maskBoxImage.image()) {
|
| - LayoutRect borderImageRect = borderBoxRect();
|
| -
|
| - // Apply outsets to the border box.
|
| - borderImageRect.expand(style()->maskBoxImageOutsets());
|
| - return borderImageRect;
|
| - }
|
| -
|
| - LayoutRect result;
|
| - LayoutRect borderBox = borderBoxRect();
|
| - for (const FillLayer* maskLayer = style()->maskLayers(); maskLayer; maskLayer = maskLayer->next()) {
|
| - if (maskLayer->image()) {
|
| - BackgroundImageGeometry geometry;
|
| - // Masks should never have fixed attachment, so it's OK for paintContainer to be null.
|
| - calculateBackgroundImageGeometry(0, maskLayer, borderBox, geometry);
|
| - result.unite(geometry.destRect());
|
| - }
|
| - }
|
| - return result;
|
| -}
|
| -
|
| void RenderBox::paintFillLayers(const PaintInfo& paintInfo, const Color& c, const FillLayer* fillLayer, const LayoutRect& rect,
|
| BackgroundBleedAvoidance bleedAvoidance, CompositeOperator op, RenderObject* backgroundObject)
|
| {
|
|
|