diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 21:13:52 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-23 21:13:52 +0000 |
commit | 01f43ee8a0eebb3068fdca5ad28554040e853b9a (patch) | |
tree | 737a8ffff864523c5ec4c9353753ce782923c48c /base/gfx/size.cc | |
parent | 2cd861458d4a6b3a882e51a8ef5b299a3fe14e2e (diff) | |
download | chromium_src-01f43ee8a0eebb3068fdca5ad28554040e853b9a.zip chromium_src-01f43ee8a0eebb3068fdca5ad28554040e853b9a.tar.gz chromium_src-01f43ee8a0eebb3068fdca5ad28554040e853b9a.tar.bz2 |
Headers cleanup:
- reduce header dependencies by using bookmark_model_observer.h
- replace #include <iostream> by #include <iosfwd> 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
Diffstat (limited to 'base/gfx/size.cc')
-rw-r--r-- | base/gfx/size.cc | 8 |
1 files changed, 6 insertions, 2 deletions
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 <CoreGraphics/CGGeometry.h> #endif -#include "base/logging.h" +#include <iostream> +#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(); +} |