Index: third_party/WebKit/Source/platform/geometry/FloatRect.cpp |
diff --git a/third_party/WebKit/Source/platform/geometry/FloatRect.cpp b/third_party/WebKit/Source/platform/geometry/FloatRect.cpp |
index 1f5659bfb45c61a030cc786bb793e16c6f4b04b2..fe35f3868782610887ffdba35d151e55a2c9fb0c 100644 |
--- a/third_party/WebKit/Source/platform/geometry/FloatRect.cpp |
+++ b/third_party/WebKit/Source/platform/geometry/FloatRect.cpp |
@@ -184,13 +184,6 @@ FloatRect unionRect(const Vector<FloatRect>& rects) { |
return result; |
} |
-IntRect enclosingIntRect(const FloatRect& rect) { |
- IntPoint location = flooredIntPoint(rect.minXMinYCorner()); |
- IntPoint maxPoint = ceiledIntPoint(rect.maxXMaxYCorner()); |
- |
- return IntRect(location, maxPoint - location); |
-} |
- |
IntRect enclosedIntRect(const FloatRect& rect) { |
IntPoint location = ceiledIntPoint(rect.minXMinYCorner()); |
IntPoint maxPoint = flooredIntPoint(rect.maxXMaxYCorner()); |