Index: src/core/SkRect.cpp |
diff --git a/src/core/SkRect.cpp b/src/core/SkRect.cpp |
index 6c44ea2544ea3078ca6464f84dd142dcb1c6ec03..f2060f84414b0a53e7ba60494a13502fe45b054f 100644 |
--- a/src/core/SkRect.cpp |
+++ b/src/core/SkRect.cpp |
@@ -67,7 +67,7 @@ bool SkRect::setBoundsCheck(const SkPoint pts[], int count) { |
pts += 1; |
count -= 1; |
} else { |
- min = Sk4s::Load(&pts[0].fX); |
+ min = Sk4s::Load(pts); |
pts += 2; |
count -= 2; |
} |
@@ -76,7 +76,7 @@ bool SkRect::setBoundsCheck(const SkPoint pts[], int count) { |
count >>= 1; |
for (int i = 0; i < count; ++i) { |
- Sk4s xy = Sk4s::Load(&pts->fX); |
+ Sk4s xy = Sk4s::Load(pts); |
accum = accum * xy; |
min = Sk4s::Min(min, xy); |
max = Sk4s::Max(max, xy); |