Index: webkit/compositor_bindings/webcore_convert.cc |
diff --git a/webkit/compositor_bindings/webcore_convert.cc b/webkit/compositor_bindings/webcore_convert.cc |
index 50fd9010f5bf964be518557fca4bc6551af3e752..5e887c01560329171a268006734fe14e099f233e 100644 |
--- a/webkit/compositor_bindings/webcore_convert.cc |
+++ b/webkit/compositor_bindings/webcore_convert.cc |
@@ -8,21 +8,11 @@ |
namespace WebKit { |
-WebCore::FloatRect convert(const WebFloatRect& rect) |
-{ |
- return WebCore::FloatRect(rect.x, rect.y, rect.width, rect.height); |
-} |
- |
WebCore::FloatPoint convert(const WebFloatPoint& point) |
{ |
return WebCore::FloatPoint(point.x, point.y); |
} |
-WebCore::IntRect convert(const WebRect& rect) |
-{ |
- return WebCore::IntRect(rect.x, rect.y, rect.width, rect.height); |
-} |
- |
WebCore::IntPoint convert(const WebPoint& point) |
{ |
return WebCore::IntPoint(point.x, point.y); |
@@ -33,11 +23,6 @@ WebCore::IntSize convert(const WebSize& size) |
return WebCore::IntSize(size.width, size.height); |
} |
-WebRect convert(const WebCore::IntRect& rect) |
-{ |
- return WebRect(rect.x(), rect.y(), rect.width(), rect.height()); |
-} |
- |
WebSize convert(const WebCore::IntSize& size) |
{ |
return WebSize(size.width(), size.height()); |