Index: ui/gfx/size_f.cc |
=================================================================== |
--- ui/gfx/size_f.cc (revision 167065) |
+++ ui/gfx/size_f.cc (working copy) |
@@ -4,8 +4,8 @@ |
#include "ui/gfx/size_f.h" |
+#include "base/logging.h" |
#include "base/stringprintf.h" |
-#include "ui/gfx/size_base_impl.h" |
namespace gfx { |
@@ -13,8 +13,9 @@ |
SizeF::SizeF() : SizeBase<SizeF, float>(0, 0) {} |
-SizeF::SizeF(float width, float height) |
- : SizeBase<SizeF, float>(width, height) { |
+SizeF::SizeF(float width, float height) : SizeBase<SizeF, float>(0, 0) { |
+ set_width(width); |
+ set_height(height); |
} |
SizeF::~SizeF() {} |