summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 19:43:48 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 19:43:48 +0000
commite0425ec4ef9ffc52bfdc6d2b810d252f3b60f9a2 (patch)
tree4aa2df38f93e318b9b8fb67e6a47d540b8a3ee15 /webkit
parent5d6920cfd4067d4c70db3e28c398951f6a40cd72 (diff)
downloadchromium_src-e0425ec4ef9ffc52bfdc6d2b810d252f3b60f9a2.zip
chromium_src-e0425ec4ef9ffc52bfdc6d2b810d252f3b60f9a2.tar.gz
chromium_src-e0425ec4ef9ffc52bfdc6d2b810d252f3b60f9a2.tar.bz2
ui/gfx: Add ToString() function to Rect class.
So we don't need to override operator<< for Rect class. R=sky@chromium.org Review URL: http://codereview.chromium.org/8066006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/web_io_operators.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/web_io_operators.cc b/webkit/glue/web_io_operators.cc
index b3be0df..ca24db7 100644
--- a/webkit/glue/web_io_operators.cc
+++ b/webkit/glue/web_io_operators.cc
@@ -27,7 +27,7 @@ std::ostream& operator<<(std::ostream& out, const WebPoint& p) {
}
std::ostream& operator<<(std::ostream& out, const WebRect& p) {
- return out << static_cast<gfx::Rect>(p);
+ return out << static_cast<gfx::Rect>(p).ToString();
}
} // namespace WebKit