Index: ui/gfx/point.h |
diff --git a/ui/gfx/point.h b/ui/gfx/point.h |
index a290f593b56b65f08f5ec70c4acf480cd179a130..5f2a3d42287b8b1fd30fa7aa4f2f4fc7a0e5a564 100644 |
--- a/ui/gfx/point.h |
+++ b/ui/gfx/point.h |
@@ -6,10 +6,9 @@ |
#define UI_GFX_POINT_H_ |
#pragma once |
-#include "build/build_config.h" |
- |
-#include <iosfwd> |
+#include <string> |
+#include "build/build_config.h" |
#include "ui/base/ui_export.h" |
#if defined(OS_WIN) |
@@ -91,13 +90,14 @@ class UI_EXPORT Point { |
CGPoint ToCGPoint() const; |
#endif |
+ // Returns a string representation of point. |
+ std::string ToString() const; |
+ |
private: |
int x_; |
int y_; |
}; |
-UI_EXPORT std::ostream& operator<<(std::ostream& out, const gfx::Point& p); |
- |
} // namespace gfx |
#endif // UI_GFX_POINT_H_ |