Index: ui/gfx/vector2d.h |
diff --git a/ui/gfx/vector2d.h b/ui/gfx/vector2d.h |
index 418a98b24b9471cdc06ad8f7f30ba7a011015033..e22a7512c39cb402f7165eb268fdf805bed69fe0 100644 |
--- a/ui/gfx/vector2d.h |
+++ b/ui/gfx/vector2d.h |
@@ -20,8 +20,8 @@ namespace gfx { |
class UI_EXPORT Vector2d { |
public: |
- Vector2d(); |
- Vector2d(int x, int y); |
+ Vector2d() : x_(0), y_(0) {} |
+ Vector2d(int x, int y) : x_(x), y_(y) {} |
int x() const { return x_; } |
void set_x(int x) { x_ = x; } |