summaryrefslogtreecommitdiffstats
path: root/gfx
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-03 21:44:39 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-03 21:44:39 +0000
commit74e3af7013e7fb3ae9a9cbd98a7fcaf8469b1b0d (patch)
tree27015ae94476e29886a69397af7bc32f1dff5ad2 /gfx
parentcc1f11583bd3b45f4f8853c617cacb8d7fc58eb8 (diff)
downloadchromium_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 'gfx')
-rw-r--r--gfx/point.cc4
-rw-r--r--gfx/point.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gfx/point.cc b/gfx/point.cc
index d8b1e7b..d601580 100644
--- a/gfx/point.cc
+++ b/gfx/point.cc
@@ -49,8 +49,8 @@ CGPoint Point::ToCGPoint() const {
}
#endif
-} // namespace gfx
-
std::ostream& operator<<(std::ostream& out, const gfx::Point& p) {
return out << p.x() << "," << p.y();
}
+
+} // namespace gfx
diff --git a/gfx/point.h b/gfx/point.h
index 5c6cb72..a2c10ad 100644
--- a/gfx/point.h
+++ b/gfx/point.h
@@ -94,8 +94,8 @@ class Point {
int y_;
};
-} // namespace gfx
-
std::ostream& operator<<(std::ostream& out, const gfx::Point& p);
+} // namespace gfx
+
#endif // GFX_POINT_H_