Index: ui/gfx/vector2d_f.h |
diff --git a/ui/gfx/vector2d_f.h b/ui/gfx/vector2d_f.h |
index 78c2318f29fd5ffb13b57b3410f85a052707ed8f..72e1b00b86c6af36592f7ecb858ee2578eee53bd 100644 |
--- a/ui/gfx/vector2d_f.h |
+++ b/ui/gfx/vector2d_f.h |
@@ -18,8 +18,8 @@ namespace gfx { |
class UI_EXPORT Vector2dF { |
public: |
- Vector2dF(); |
- Vector2dF(float x, float y); |
+ Vector2dF() : x_(0), y_(0) {} |
+ Vector2dF(float x, float y) : x_(x), y_(y) {} |
float x() const { return x_; } |
void set_x(float x) { x_ = x; } |