| Index: ui/gfx/ipc/gfx_param_traits.h
|
| diff --git a/ui/gfx/ipc/gfx_param_traits.h b/ui/gfx/ipc/gfx_param_traits.h
|
| index 77aa120600fbb2a286ccab65b721fe1c2aedf9ab..337505a20ee7bf04dd251058831aed94eea8c54f 100644
|
| --- a/ui/gfx/ipc/gfx_param_traits.h
|
| +++ b/ui/gfx/ipc/gfx_param_traits.h
|
| @@ -22,6 +22,7 @@ class Point3F;
|
| class Range;
|
| class Rect;
|
| class RectF;
|
| +class ScrollOffset;
|
| class Size;
|
| class SizeF;
|
| class Vector2d;
|
| @@ -122,6 +123,14 @@ struct GFX_IPC_EXPORT ParamTraits<gfx::Range> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct GFX_IPC_EXPORT ParamTraits<gfx::ScrollOffset> {
|
| + typedef gfx::ScrollOffset param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // UI_GFX_IPC_GFX_PARAM_TRAITS_H_
|
|
|