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

Side by Side Diff: webkit/glue/web_io_operators.cc

Issue 11238074: GTTF: Fix build with _GLIBCXX_DEBUG (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« build/common.gypi ('K') | « chrome/browser/profiles/profile_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/glue/web_io_operators.h" 5 #include "webkit/glue/web_io_operators.h"
6 6
7 #include <ostream>
8
7 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPoint.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPoint.h"
8 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h"
9 #include "ui/gfx/point.h" 11 #include "ui/gfx/point.h"
10 #include "ui/gfx/rect.h" 12 #include "ui/gfx/rect.h"
11 13
12 #if defined(WCHAR_T_IS_UTF32) 14 #if defined(WCHAR_T_IS_UTF32)
13 #include "base/string16.h" 15 #include "base/string16.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
15 #endif // defined(WCHAR_T_IS_UTF32) 17 #endif // defined(WCHAR_T_IS_UTF32)
16 18
17 namespace WebKit { 19 namespace WebKit {
18 20
19 #if defined(WCHAR_T_IS_UTF32) 21 #if defined(WCHAR_T_IS_UTF32)
20 std::ostream& operator<<(std::ostream& out, const WebString& s) { 22 std::ostream& operator<<(std::ostream& out, const WebString& s) {
21 return out << static_cast<string16>(s); 23 return out << static_cast<string16>(s);
22 } 24 }
23 #endif // defined(WCHAR_T_IS_UTF32) 25 #endif // defined(WCHAR_T_IS_UTF32)
24 26
25 std::ostream& operator<<(std::ostream& out, const WebPoint& p) { 27 std::ostream& operator<<(std::ostream& out, const WebPoint& p) {
26 return out << static_cast<gfx::Point>(p).ToString(); 28 return out << static_cast<gfx::Point>(p).ToString();
27 } 29 }
28 30
29 std::ostream& operator<<(std::ostream& out, const WebRect& p) { 31 std::ostream& operator<<(std::ostream& out, const WebRect& p) {
30 return out << static_cast<gfx::Rect>(p).ToString(); 32 return out << static_cast<gfx::Rect>(p).ToString();
31 } 33 }
32 34
33 } // namespace WebKit 35 } // namespace WebKit
OLDNEW
« build/common.gypi ('K') | « chrome/browser/profiles/profile_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698