| Index: mojo/services/geometry/cpp/formatting.cc
|
| diff --git a/mojo/services/geometry/cpp/formatting.cc b/mojo/services/geometry/cpp/formatting.cc
|
| index 76162d7a592c7c07936210e497ec1a689675eee7..2913a132bb429f850c79483c06cd3233abd9c50b 100644
|
| --- a/mojo/services/geometry/cpp/formatting.cc
|
| +++ b/mojo/services/geometry/cpp/formatting.cc
|
| @@ -12,8 +12,8 @@ std::ostream& operator<<(std::ostream& os, const mojo::Point& value) {
|
| return os << "{x=" << value.x << ", y=" << value.y << "}";
|
| }
|
|
|
| -std::ostream& operator<<(std::ostream& os, const mojo::Size& value) {
|
| - return os << "{width=" << value.width << ", height=" << value.height << "}";
|
| +std::ostream& operator<<(std::ostream& os, const mojo::PointF& value) {
|
| + return os << "{x=" << value.x << ", y=" << value.y << "}";
|
| }
|
|
|
| std::ostream& operator<<(std::ostream& os, const mojo::Rect& value) {
|
| @@ -21,7 +21,12 @@ std::ostream& operator<<(std::ostream& os, const mojo::Rect& value) {
|
| << ", width=" << value.width << ", height=" << value.height << "}";
|
| }
|
|
|
| -std::ostream& operator<<(std::ostream& os, const mojo::RRect& value) {
|
| +std::ostream& operator<<(std::ostream& os, const mojo::RectF& value) {
|
| + return os << "{x=" << value.x << ", y=" << value.y
|
| + << ", width=" << value.width << ", height=" << value.height << "}";
|
| +}
|
| +
|
| +std::ostream& operator<<(std::ostream& os, const mojo::RRectF& value) {
|
| return os << "{x=" << value.x << ", y=" << value.y
|
| << ", width=" << value.width << ", height=" << value.height
|
| << ", top_left_radius_x=" << value.top_left_radius_x
|
| @@ -34,6 +39,10 @@ std::ostream& operator<<(std::ostream& os, const mojo::RRect& value) {
|
| << ", bottom_right_radius_y=" << value.bottom_right_radius_y << "}";
|
| }
|
|
|
| +std::ostream& operator<<(std::ostream& os, const mojo::Size& value) {
|
| + return os << "{width=" << value.width << ", height=" << value.height << "}";
|
| +}
|
| +
|
| std::ostream& operator<<(std::ostream& os, const mojo::Transform& value) {
|
| if (value.matrix) {
|
| os << "[";
|
|
|