diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-26 17:12:30 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-26 17:12:30 +0000 |
commit | e988ffd3c55d2d4369b1625ab2ed6f3b9ce38877 (patch) | |
tree | 0385b577411883b88f295a2e88e8d47926be5391 /ui/gfx/rect.cc | |
parent | 829c2b8eac0145e88c6bb4645750b67f8ab520d0 (diff) | |
download | chromium_src-e988ffd3c55d2d4369b1625ab2ed6f3b9ce38877.zip chromium_src-e988ffd3c55d2d4369b1625ab2ed6f3b9ce38877.tar.gz chromium_src-e988ffd3c55d2d4369b1625ab2ed6f3b9ce38877.tar.bz2 |
ui/gfx: Add ToString() function to Point class.
So we don't need to override operator<< for Point class.
R=sky@chromium.org
Review URL: http://codereview.chromium.org/8044015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/rect.cc')
-rw-r--r-- | ui/gfx/rect.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gfx/rect.cc b/ui/gfx/rect.cc index ee557d7..60e3e9f 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() << " " << r.size(); + return out << r.origin().ToString() << " " << r.size(); } } // namespace gfx |