| Index: third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| index 3eae2c371d3ab249e6935e94f82e9f2271dd48e0..1bd7430e088484903a56f09b230dc3e6b78eac5d 100644
|
| --- a/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "core/paint/NinePieceImagePainter.h"
|
|
|
| -#include "core/frame/Deprecation.h"
|
| #include "core/layout/ImageQualityController.h"
|
| #include "core/layout/LayoutBoxModelObject.h"
|
| #include "core/paint/BoxPainter.h"
|
| @@ -35,14 +34,6 @@ bool NinePieceImagePainter::paint(GraphicsContext& graphicsContext, const Layout
|
| if (!styleImage->canRender())
|
| return false;
|
|
|
| - // Find out if the hasImage() check in ComputedStyle::border*Width had any affect, i.e. if a border is non-zero while border-style is
|
| - // none or hidden.
|
| - if ((style.borderLeftWidth() && (style.borderLeft().style() == BorderStyleNone || style.borderLeft().style() == BorderStyleHidden))
|
| - || (style.borderRightWidth() && (style.borderRight().style() == BorderStyleNone || style.borderRight().style() == BorderStyleHidden))
|
| - || (style.borderTopWidth() && (style.borderTop().style() == BorderStyleNone || style.borderTop().style() == BorderStyleHidden))
|
| - || (style.borderBottomWidth() && (style.borderBottom().style() == BorderStyleNone || style.borderBottom().style() == BorderStyleHidden)))
|
| - Deprecation::countDeprecation(m_layoutObject.document(), UseCounter::BorderImageWithBorderStyleNone);
|
| -
|
| // FIXME: border-image is broken with full page zooming when tiling has to happen, since the tiling function
|
| // doesn't have any understanding of the zoom that is in effect on the tile.
|
| LayoutRect rectWithOutsets = rect;
|
|
|