| Index: mojo/examples/pepper_container_app/type_converters.h
|
| diff --git a/mojo/examples/pepper_container_app/type_converters.h b/mojo/examples/pepper_container_app/type_converters.h
|
| index 025cbb46c1d9e1339be2a52d9c6ad1cbc4823d06..22dcf46f621ce488744b57422a57ff29aec7ef4e 100644
|
| --- a/mojo/examples/pepper_container_app/type_converters.h
|
| +++ b/mojo/examples/pepper_container_app/type_converters.h
|
| @@ -27,6 +27,8 @@ class TypeConverter<Point, PP_Point> {
|
| return PP_MakePoint(static_cast<int32_t>(input.x()),
|
| static_cast<int32_t>(input.y()));
|
| }
|
| +
|
| + MOJO_ALLOW_DIRECT_TYPE_CONVERSION();
|
| };
|
|
|
| template <>
|
| @@ -43,6 +45,8 @@ class TypeConverter<Size, PP_Size> {
|
| return PP_MakeSize(static_cast<int32_t>(input.width()),
|
| static_cast<int32_t>(input.height()));
|
| }
|
| +
|
| + MOJO_ALLOW_DIRECT_TYPE_CONVERSION();
|
| };
|
|
|
| template <>
|
| @@ -60,6 +64,8 @@ class TypeConverter<Rect, PP_Rect> {
|
| input.size().To<PP_Size>() };
|
| return rect;
|
| }
|
| +
|
| + MOJO_ALLOW_DIRECT_TYPE_CONVERSION();
|
| };
|
|
|
| } // namespace mojo
|
|
|