Index: ui/gfx/size.cc |
diff --git a/ui/gfx/size.cc b/ui/gfx/size.cc |
index 6d28ded281ab4b039bd63aea70ae695214269588..26bb97328443e4618f899da6aa292fb479e581a3 100644 |
--- a/ui/gfx/size.cc |
+++ b/ui/gfx/size.cc |
@@ -8,9 +8,8 @@ |
#include <windows.h> |
#endif |
-#include "base/logging.h" |
#include "base/stringprintf.h" |
-#include "ui/gfx/size_base.h" |
+#include "ui/gfx/size_base_impl.h" |
namespace gfx { |
@@ -18,15 +17,13 @@ template class SizeBase<Size, int>; |
Size::Size() : SizeBase<Size, int>(0, 0) {} |
-Size::Size(int width, int height) : SizeBase<Size, int>(0, 0) { |
- set_width(width); |
- set_height(height); |
+Size::Size(int width, int height) |
+ : SizeBase<Size, int>(width, height) { |
} |
#if defined(OS_MACOSX) |
-Size::Size(const CGSize& s) : SizeBase<Size, int>(0, 0) { |
- set_width(s.width); |
- set_height(s.height); |
+Size::Size(const CGSize& s) |
+ : SizeBase<Size, int>(s.width, s.height) { |
} |
Size& Size::operator=(const CGSize& s) { |