| Index: third_party/WebKit/Source/platform/mojo/Geometry.typemap
|
| diff --git a/third_party/WebKit/Source/platform/mojo/Geometry.typemap b/third_party/WebKit/Source/platform/mojo/Geometry.typemap
|
| index 3e1e17d4f7ade10aff445d496ec483823b8f65e4..4b35c2f6bf7b12aafe3fd1bce33fd1b694db7379 100644
|
| --- a/third_party/WebKit/Source/platform/mojo/Geometry.typemap
|
| +++ b/third_party/WebKit/Source/platform/mojo/Geometry.typemap
|
| @@ -3,7 +3,11 @@
|
| # found in the LICENSE file.
|
|
|
| mojom = "//ui/gfx/geometry/mojo/geometry.mojom"
|
| -public_headers = [ "//third_party/WebKit/public/platform/WebSize.h" ]
|
| +public_headers = [
|
| + "//third_party/WebKit/public/platform/WebFloatRect.h",
|
| + "//third_party/WebKit/public/platform/WebFloatPoint.h",
|
| + "//third_party/WebKit/public/platform/WebSize.h",
|
| +]
|
| traits_headers = [
|
| "//third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h",
|
| "//ui/gfx/geometry/mojo/geometry_struct_traits.h",
|
| @@ -17,4 +21,8 @@ deps = [
|
|
|
| # TODO(zqzhang): ideally, gfx.mojom.Size should be mapped into ::blink::IntSize.
|
| # However that introduces an link issue on Windows. See https://crbug.com/653323
|
| -type_mappings = [ "gfx.mojom.Size=::blink::WebSize" ]
|
| +type_mappings = [
|
| + "gfx.mojom.PointF=::blink::WebFloatPoint",
|
| + "gfx.mojom.RectF=::blink::WebFloatRect",
|
| + "gfx.mojom.Size=::blink::WebSize",
|
| +]
|
|
|