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

Unified Diff: base/gfx/size.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 | « base/gfx/rect.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/size.h
diff --git a/base/gfx/size.h b/base/gfx/size.h
index 175a206d0a7bc7f1c4241c0ee25cf238faa01eb3..e4666d6bb482786b0134689a0ded0df263d38d19 100644
--- a/base/gfx/size.h
+++ b/base/gfx/size.h
@@ -7,9 +7,7 @@
#include "build/build_config.h"
-#ifdef UNIT_TEST
#include <iostream>
-#endif
#if defined(OS_WIN)
typedef struct tagSIZE SIZE;
@@ -70,13 +68,9 @@ class Size {
} // namespace gfx
-#ifdef UNIT_TEST
-
inline std::ostream& operator<<(std::ostream& out, const gfx::Size& s) {
return out << s.width() << "x" << s.height();
}
-#endif // #ifdef UNIT_TEST
-
#endif // BASE_GFX_SIZE_H__
« no previous file with comments | « base/gfx/rect.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698