Index: ui/gfx/point_f.h |
diff --git a/ui/gfx/point_f.h b/ui/gfx/point_f.h |
index 7a828befcd163da693d5b381b608d0b566c39f0f..a7b841f23db9faa802e61bc7b9f1662b3c4fd3f5 100644 |
--- a/ui/gfx/point_f.h |
+++ b/ui/gfx/point_f.h |
@@ -16,9 +16,9 @@ namespace gfx { |
// A floating version of gfx::Point. |
class UI_EXPORT PointF : public PointBase<PointF, float, Vector2dF> { |
public: |
- PointF(); |
- PointF(float x, float y); |
- ~PointF(); |
+ PointF() : PointBase<PointF, float, Vector2dF>(0, 0) {} |
+ PointF(float x, float y) : PointBase<PointF, float, Vector2dF>(x, y) {} |
+ ~PointF() {} |
void Scale(float scale) { |
Scale(scale, scale); |