summaryrefslogtreecommitdiffstats
path: root/base/gfx/point.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 22:18:42 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 22:18:42 +0000
commitc0a2ee2bb8bfcc3ade688d43a95cc3404eea3748 (patch)
tree0f5080d1c37b59e703f0ffa7d00b87dd97122d6a /base/gfx/point.h
parent04f40b3227b881980574fc94b2cfc01bbbeb1dc0 (diff)
downloadchromium_src-c0a2ee2bb8bfcc3ade688d43a95cc3404eea3748.zip
chromium_src-c0a2ee2bb8bfcc3ade688d43a95cc3404eea3748.tar.gz
chromium_src-c0a2ee2bb8bfcc3ade688d43a95cc3404eea3748.tar.bz2
Expose the iostream (logging) interfaces of some gfx:: classes.
This is useful when developing anyway, and the compiler ought to be able to eliminate any dead code if we don't use it. Review URL: http://codereview.chromium.org/39089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10926 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/point.h')
-rw-r--r--base/gfx/point.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/gfx/point.h b/base/gfx/point.h
index c36c1d4d..1dbf5bd 100644
--- a/base/gfx/point.h
+++ b/base/gfx/point.h
@@ -7,9 +7,7 @@
#include "build/build_config.h"
-#ifdef UNIT_TEST
#include <iostream>
-#endif
#if defined(OS_WIN)
typedef struct tagPOINT POINT;
@@ -71,13 +69,9 @@ class Point {
} // namespace gfx
-#ifdef UNIT_TEST
-
inline std::ostream& operator<<(std::ostream& out, const gfx::Point& p) {
return out << p.x() << "," << p.y();
}
-#endif // #ifdef UNIT_TEST
-
#endif // BASE_GFX_POINT_H__