From 01f43ee8a0eebb3068fdca5ad28554040e853b9a Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Thu, 23 Jul 2009 21:13:52 +0000 Subject: Headers cleanup: - reduce header dependencies by using bookmark_model_observer.h - replace #include by #include in headers Review URL: http://codereview.chromium.org/159280 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21444 0039d316-1c4b-4281-b951-d872f2087c98 --- base/gfx/size.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'base/gfx/size.cc') diff --git a/base/gfx/size.cc b/base/gfx/size.cc index 018a42c..76dc023 100644 --- a/base/gfx/size.cc +++ b/base/gfx/size.cc @@ -10,8 +10,9 @@ #include #endif -#include "base/logging.h" +#include +#include "base/logging.h" namespace gfx { @@ -49,5 +50,8 @@ void Size::set_height(int height) { height_ = height; } - } // namespace gfx + +std::ostream& operator<<(std::ostream& out, const gfx::Size& s) { + return out << s.width() << "x" << s.height(); +} -- cgit v1.1