Chromium Code Reviews| Index: src/core/SkGeometry.h |
| diff --git a/src/core/SkGeometry.h b/src/core/SkGeometry.h |
| index 935967ea784ba2118f00d070cce05becc466dab1..15f1e55195a9888285b34dadcc717e1615d54f7a 100644 |
| --- a/src/core/SkGeometry.h |
| +++ b/src/core/SkGeometry.h |
| @@ -12,12 +12,12 @@ |
| #include "SkNx.h" |
| static inline Sk2s from_point(const SkPoint& point) { |
| - return Sk2s::Load(&point.fX); |
| + return Sk2s::Load(&point); |
| } |
| static inline SkPoint to_point(const Sk2s& x) { |
| SkPoint point; |
| - x.store(&point.fX); |
| + x.store(&point); |
| return point; |
| } |