Chromium Code Reviews| Index: third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h |
| diff --git a/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h b/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h |
| index 42afd6604329b13a79a26d14450246c672bb102a..b88c3b20a0e7337c6ae8b10585bb19786cfa653a 100644 |
| --- a/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h |
| +++ b/third_party/WebKit/Source/platform/mojo/GeometryStructTraits.h |
| @@ -5,17 +5,16 @@ |
| #ifndef GeometryStructTraits_h |
| #define GeometryStructTraits_h |
| -#include "platform/PlatformExport.h" |
| -#include "ui/gfx/geometry/mojo/geometry.mojom-blink.h" |
| +#include "third_party/WebKit/public/platform/WebSize.h" |
| +#include "ui/gfx/geometry/mojo/geometry.mojom-shared.h" |
|
haraken
2017/01/16 12:31:46
Would you help me understand what *-shared.h means
leonhsl(Using Gerrit)
2017/01/17 03:40:07
xxx.mojom-shared.h is included by both xxx.mojom.h
|
| namespace mojo { |
| template <> |
| -struct PLATFORM_EXPORT |
| - StructTraits<gfx::mojom::blink::Size::DataView, ::blink::WebSize> { |
| +struct StructTraits<gfx::mojom::SizeDataView, ::blink::WebSize> { |
| static int width(const ::blink::WebSize& size) { return size.width; } |
| static int height(const ::blink::WebSize& size) { return size.height; } |
| - static bool Read(gfx::mojom::blink::Size::DataView, ::blink::WebSize* out); |
| + static bool Read(gfx::mojom::SizeDataView, ::blink::WebSize* out); |
| }; |
| } // namespace mojo |