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

Unified Diff: ui/gfx/rect.cc

Issue 8038024: ui/gfx: Add ToString() function to Size class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « printing/page_setup_unittest.cc ('k') | ui/gfx/size.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/rect.cc
diff --git a/ui/gfx/rect.cc b/ui/gfx/rect.cc
index 60e3e9f7568e3801366c77ff8df3b004a87f320a..db5ff8af0a8ebd84cab3d99147615c9198c6d276 100644
--- a/ui/gfx/rect.cc
+++ b/ui/gfx/rect.cc
@@ -274,7 +274,7 @@ bool Rect::SharesEdgeWith(const gfx::Rect& rect) const {
}
std::ostream& operator<<(std::ostream& out, const gfx::Rect& r) {
- return out << r.origin().ToString() << " " << r.size();
+ return out << r.origin().ToString() << " " << r.size().ToString();
}
} // namespace gfx
« no previous file with comments | « printing/page_setup_unittest.cc ('k') | ui/gfx/size.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698