| Index: mojo/services/native_viewport/geometry_conversions.h
|
| diff --git a/mojo/services/native_viewport/geometry_conversions.h b/mojo/services/native_viewport/geometry_conversions.h
|
| index d459598fa48917b85d4c88880b8e67e780669251..27e9c5a99f51587a75fad4663b90aeee603d6cd4 100644
|
| --- a/mojo/services/native_viewport/geometry_conversions.h
|
| +++ b/mojo/services/native_viewport/geometry_conversions.h
|
| @@ -22,6 +22,8 @@ public:
|
| static gfx::Point ConvertTo(const Point& input) {
|
| return gfx::Point(input.x(), input.y());
|
| }
|
| +
|
| + MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
|
| };
|
|
|
| template<>
|
| @@ -36,6 +38,8 @@ public:
|
| static gfx::Size ConvertTo(const Size& input) {
|
| return gfx::Size(input.width(), input.height());
|
| }
|
| +
|
| + MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
|
| };
|
|
|
| template<>
|
| @@ -51,6 +55,8 @@ class TypeConverter<Rect, gfx::Rect> {
|
| return gfx::Rect(input.position().x(), input.position().y(),
|
| input.size().width(), input.size().height());
|
| }
|
| +
|
| + MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
|
| };
|
|
|
| } // namespace mojo
|
|
|