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

Unified Diff: webkit/compositor_bindings/webcore_convert.cc

Issue 11366089: cc: Remove all remaining use of WebCore Rect/Point/Size types from the compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove gyp entries for stubs 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
deleted file mode 100644
index 5e887c01560329171a268006734fe14e099f233e..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/webcore_convert.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-
-#include "webcore_convert.h"
-
-namespace WebKit {
-
-WebCore::FloatPoint convert(const WebFloatPoint& point)
-{
- return WebCore::FloatPoint(point.x, point.y);
-}
-
-WebCore::IntPoint convert(const WebPoint& point)
-{
- return WebCore::IntPoint(point.x, point.y);
-}
-
-WebCore::IntSize convert(const WebSize& size)
-{
- return WebCore::IntSize(size.width, size.height);
-}
-
-WebSize convert(const WebCore::IntSize& size)
-{
- return WebSize(size.width(), size.height());
-}
-
-WebFloatPoint convert(const WebCore::FloatPoint& point)
-{
- return WebFloatPoint(point.x(), point.y());
-}
-
-}
-
-
« 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