| Index: mojo/geometry/geometry_type_converters.h
|
| diff --git a/mojo/geometry/geometry_type_converters.h b/mojo/geometry/geometry_type_converters.h
|
| index 3905e7612d87f8381caaee4b955a67d2cbcef7d7..62d6195407e7832bc709e4d742dbd4a25bd8b61c 100644
|
| --- a/mojo/geometry/geometry_type_converters.h
|
| +++ b/mojo/geometry/geometry_type_converters.h
|
| @@ -12,30 +12,24 @@
|
| namespace mojo {
|
|
|
| template<>
|
| -class MOJO_GEOMETRY_EXPORT TypeConverter<Point, gfx::Point> {
|
| +class MOJO_GEOMETRY_EXPORT TypeConverter<PointPtr, gfx::Point> {
|
| public:
|
| - static Point ConvertFrom(const gfx::Point& input, Buffer* buf);
|
| - static gfx::Point ConvertTo(const Point& input);
|
| -
|
| - MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
|
| + static PointPtr ConvertFrom(const gfx::Point& input);
|
| + static gfx::Point ConvertTo(const PointPtr& input);
|
| };
|
|
|
| template<>
|
| -class MOJO_GEOMETRY_EXPORT TypeConverter<Size, gfx::Size> {
|
| +class MOJO_GEOMETRY_EXPORT TypeConverter<SizePtr, gfx::Size> {
|
| public:
|
| - static Size ConvertFrom(const gfx::Size& input, Buffer* buf);
|
| - static gfx::Size ConvertTo(const Size& input);
|
| -
|
| - MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
|
| + static SizePtr ConvertFrom(const gfx::Size& input);
|
| + static gfx::Size ConvertTo(const SizePtr& input);
|
| };
|
|
|
| template<>
|
| -class MOJO_GEOMETRY_EXPORT TypeConverter<Rect, gfx::Rect> {
|
| +class MOJO_GEOMETRY_EXPORT TypeConverter<RectPtr, gfx::Rect> {
|
| public:
|
| - static Rect ConvertFrom(const gfx::Rect& input, Buffer* buf);
|
| - static gfx::Rect ConvertTo(const Rect& input);
|
| -
|
| - MOJO_ALLOW_IMPLICIT_TYPE_CONVERSION();
|
| + static RectPtr ConvertFrom(const gfx::Rect& input);
|
| + static gfx::Rect ConvertTo(const RectPtr& input);
|
| };
|
|
|
| } // namespace mojo
|
|
|