Index: base/gfx/rect.h |
diff --git a/base/gfx/rect.h b/base/gfx/rect.h |
index 54e864defec79b89b699bc87c1141de89d9b12e6..a1759f5a31fd41bb350815d23c9eac84d1b6176b 100755 |
--- a/base/gfx/rect.h |
+++ b/base/gfx/rect.h |
@@ -12,8 +12,10 @@ |
#ifndef BASE_GFX_RECT_H__ |
#define BASE_GFX_RECT_H__ |
-#include "base/gfx/size.h" |
+#include <iostream> |
+ |
#include "base/gfx/point.h" |
+#include "base/gfx/size.h" |
#if defined(OS_WIN) |
typedef struct tagRECT RECT; |
@@ -155,13 +157,9 @@ class Rect { |
} // namespace gfx |
-#ifdef UNIT_TEST |
- |
inline std::ostream& operator<<(std::ostream& out, const gfx::Rect& r) { |
return out << r.origin() << " " << r.size(); |
} |
-#endif // #ifdef UNIT_TEST |
- |
#endif // BASE_GFX_RECT_H__ |