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 /webkit/glue | |
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 'webkit/glue')
-rw-r--r-- | webkit/glue/web_io_operators.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/web_io_operators.cc b/webkit/glue/web_io_operators.cc index c053863..b3be0df 100644 --- a/webkit/glue/web_io_operators.cc +++ b/webkit/glue/web_io_operators.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -23,7 +23,7 @@ std::ostream& operator<<(std::ostream& out, const WebString& s) { #endif // defined(WCHAR_T_IS_UTF32) std::ostream& operator<<(std::ostream& out, const WebPoint& p) { - return out << static_cast<gfx::Point>(p); + return out << static_cast<gfx::Point>(p).ToString(); } std::ostream& operator<<(std::ostream& out, const WebRect& p) { |