Chromium Code Reviews| Index: cc/stubs/float_point_3d.h |
| diff --git a/cc/stubs/float_point_3d.h b/cc/stubs/float_point_3d.h |
| index 02ff076d7ff347e2367752fdffab2c5efd4d4d02..92e036f47d28f61da6b2b21c335fa265c06ee7c9 100644 |
| --- a/cc/stubs/float_point_3d.h |
| +++ b/cc/stubs/float_point_3d.h |
| @@ -39,10 +39,16 @@ public: |
| { |
| } |
| + |
| FloatPoint3D(WebCore::FloatPoint point) |
| : WebCore::FloatPoint3D(point) |
| { |
| } |
| + |
| + explicit FloatPoint3D(gfx::PointF point) |
| + : WebCore::FloatPoint3D(point.x(), point.y(), 0) |
| + { |
| + } |
| }; |
| } |