summaryrefslogtreecommitdiffstats
path: root/base/gfx/size.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 21:13:52 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 21:13:52 +0000
commit01f43ee8a0eebb3068fdca5ad28554040e853b9a (patch)
tree737a8ffff864523c5ec4c9353753ce782923c48c /base/gfx/size.h
parent2cd861458d4a6b3a882e51a8ef5b299a3fe14e2e (diff)
downloadchromium_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.h')
-rw-r--r--base/gfx/size.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/gfx/size.h b/base/gfx/size.h
index 57e080b..3e74e80 100644
--- a/base/gfx/size.h
+++ b/base/gfx/size.h
@@ -7,7 +7,7 @@
#include "build/build_config.h"
-#include <iostream>
+#include <iosfwd>
#if defined(OS_WIN)
typedef struct tagSIZE SIZE;
@@ -71,8 +71,6 @@ class Size {
} // namespace gfx
-inline std::ostream& operator<<(std::ostream& out, const gfx::Size& s) {
- return out << s.width() << "x" << s.height();
-}
+std::ostream& operator<<(std::ostream& out, const gfx::Size& s);
#endif // BASE_GFX_SIZE_H_