summaryrefslogtreecommitdiffstats
path: root/ui/gfx/size_f.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/size_f.cc')
-rw-r--r--ui/gfx/size_f.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/gfx/size_f.cc b/ui/gfx/size_f.cc
index 96c1867..0aad4ad 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() {}