diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-03 21:44:39 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-03 21:44:39 +0000 |
commit | 74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d (patch) | |
tree | 27015ae94476e29886a69397af7bc32f1dff5ad2 /webkit/glue/web_io_operators.cc | |
parent | cc1f11583bd3b45f4f8853c617cacb8d7fc58eb8 (diff) | |
download | chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.zip chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.tar.gz chromium_src-74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d.tar.bz2 |
clang/mac: Fix most problems in unittest targets in webkit.gyp
This does to WebPoint/gfx::Point what we did to WebString/string16 last friday and fixes a bunch of other small issues.
Also fix two tiny issues in the base unit tests target.
BUG=None
TEST=None
TBR=hans
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/web_io_operators.cc')
-rw-r--r-- | webkit/glue/web_io_operators.cc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/webkit/glue/web_io_operators.cc b/webkit/glue/web_io_operators.cc index f381399..a3d9c0b 100644 --- a/webkit/glue/web_io_operators.cc +++ b/webkit/glue/web_io_operators.cc @@ -4,16 +4,24 @@ #include "webkit/glue/web_io_operators.h" +#include "gfx/point.h" +#include "third_party/WebKit/WebKit/chromium/public/WebPoint.h" + #if defined(WCHAR_T_IS_UTF32) #include "base/string16.h" #include "third_party/WebKit/WebKit/chromium/public/WebString.h" +#endif // defined(WCHAR_T_IS_UTF32) namespace WebKit { +#if defined(WCHAR_T_IS_UTF32) std::ostream& operator<<(std::ostream& out, const WebString& s) { return out << static_cast<string16>(s); } +#endif // defined(WCHAR_T_IS_UTF32) + +std::ostream& operator<<(std::ostream& out, const WebPoint& p) { + return out << static_cast<gfx::Point>(p); +} } // namespace WebKit - -#endif // defined(WCHAR_T_IS_UTF32) |