Index: third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp b/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
index 70d588f4ded39b32140c35e569a66dfb0939c411..2c1c226694039ee3bde077071a58bd73af1d903e 100644 |
--- a/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/filters/FELighting.cpp |
@@ -50,14 +50,6 @@ FELighting::FELighting(Filter* filter, LightingType lightingType, const Color& l |
{ |
} |
-FloatRect FELighting::mapPaintRect(const FloatRect& rect, bool) const |
-{ |
- FloatRect result = rect; |
- // The areas affected need to be a pixel bigger to accommodate the Sobel kernel. |
- result.inflate(1); |
- return result; |
-} |
- |
sk_sp<SkImageFilter> FELighting::createImageFilter() |
{ |
if (!m_lightSource) |