Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1357)

Unified Diff: base/gfx/point.h

Issue 39089: Expose the iostream (logging) interfaces of some gfx:: classes. (Closed)
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/gfx/rect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/point.h
diff --git a/base/gfx/point.h b/base/gfx/point.h
index c36c1d4dcac3c31db914b313a7ae53bcbe7602dd..1dbf5bd9f3f3590fb407a9f9ab6dd3b22caa4fbf 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__
« no previous file with comments | « no previous file | base/gfx/rect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698