Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1044)

Unified Diff: webkit/compositor_bindings/webcore_convert.cc

Issue 11360066: cc: Remove WebCore rect use from the compositor, except within Region. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Signs Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/compositor_bindings/webcore_convert.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « webkit/compositor_bindings/webcore_convert.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698