| Index: cc/surfaces/surface_info.h
|
| diff --git a/cc/surfaces/surface_info.h b/cc/surfaces/surface_info.h
|
| index cbe7a0a09dc6fb654dab153dea325876c64e6ece..1c77d98976fc0ab291d449a462f4322bad8330ae 100644
|
| --- a/cc/surfaces/surface_info.h
|
| +++ b/cc/surfaces/surface_info.h
|
| @@ -8,6 +8,11 @@
|
| #include "cc/surfaces/surface_id.h"
|
| #include "ui/gfx/geometry/size.h"
|
|
|
| +namespace IPC {
|
| +template <class T>
|
| +struct ParamTraits;
|
| +} // namespace IPC
|
| +
|
| namespace cc {
|
| namespace mojom {
|
| class SurfaceInfoDataView;
|
| @@ -38,6 +43,7 @@ class SurfaceInfo {
|
|
|
| private:
|
| friend struct mojo::StructTraits<mojom::SurfaceInfoDataView, SurfaceInfo>;
|
| + friend struct IPC::ParamTraits<SurfaceInfo>;
|
|
|
| SurfaceId id_;
|
| float device_scale_factor_ = 1.f;
|
|
|