Index: ui/gfx/size_f.cc |
diff --git a/ui/gfx/size_f.cc b/ui/gfx/size_f.cc |
index 96c186788e4ad23092b8078aff415270e74bc8c7..0aad4ad6556cc84ddc5a8e4414e9a0f7e407fa7f 100644 |
--- a/ui/gfx/size_f.cc |
+++ b/ui/gfx/size_f.cc |
@@ -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,9 +13,8 @@ template class SizeBase<SizeF, float>; |
SizeF::SizeF() : SizeBase<SizeF, float>(0, 0) {} |
-SizeF::SizeF(float width, float height) : SizeBase<SizeF, float>(0, 0) { |
- set_width(width); |
- set_height(height); |
+SizeF::SizeF(float width, float height) |
+ : SizeBase<SizeF, float>(width, height) { |
} |
SizeF::~SizeF() {} |