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 5bdd1d37e2ab97f9c4d0accc2e461c3015886466..77aa120600fbb2a286ccab65b721fe1c2aedf9ab 100644 |
--- a/ui/gfx/ipc/gfx_param_traits.h |
+++ b/ui/gfx/ipc/gfx_param_traits.h |
@@ -18,6 +18,7 @@ class SkBitmap; |
namespace gfx { |
class Point; |
class PointF; |
+class Point3F; |
class Range; |
class Rect; |
class RectF; |
@@ -46,6 +47,14 @@ struct GFX_IPC_EXPORT ParamTraits<gfx::PointF> { |
}; |
template <> |
+struct GFX_IPC_EXPORT ParamTraits<gfx::Point3F> { |
+ typedef gfx::Point3F 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); |
+}; |
+ |
+template <> |
struct GFX_IPC_EXPORT ParamTraits<gfx::Size> { |
typedef gfx::Size param_type; |
static void Write(Message* m, const param_type& p); |