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

Unified Diff: ui/gfx/vector2d.cc

Issue 11414284: Inline gfx::Vector2d* ctors and integer conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile 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 | « ui/gfx/vector2d.h ('k') | ui/gfx/vector2d_f.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/vector2d.cc
diff --git a/ui/gfx/vector2d.cc b/ui/gfx/vector2d.cc
index a1492cbd119be73e6e5a02b20848d5c139d5ea6a..d8353095506b2d1cc9f4e9066fe2e3fa00be07d6 100644
--- a/ui/gfx/vector2d.cc
+++ b/ui/gfx/vector2d.cc
@@ -10,12 +10,6 @@
namespace gfx {
-Vector2d::Vector2d() : x_(0), y_(0) {
-}
-
-Vector2d::Vector2d(int x, int y) : x_(x), y_(y) {
-}
-
bool Vector2d::IsZero() const {
return x_ == 0 && y_ == 0;
}
« no previous file with comments | « ui/gfx/vector2d.h ('k') | ui/gfx/vector2d_f.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698