Index: src/core/SkPoint.cpp |
diff --git a/src/core/SkPoint.cpp b/src/core/SkPoint.cpp |
index 5fee0e80c2b26855b5280bfa73fd0c742a1676c1..2970e35c54336a9f5f4aa7e6f31b334f1ba1aae4 100644 |
--- a/src/core/SkPoint.cpp |
+++ b/src/core/SkPoint.cpp |
@@ -43,16 +43,6 @@ void SkPoint::setIRectFan(int l, int t, int r, int b, size_t stride) { |
SkIntToScalar(t)); |
} |
-void SkPoint::setRectFan(SkScalar l, SkScalar t, SkScalar r, SkScalar b, |
- size_t stride) { |
- SkASSERT(stride >= sizeof(SkPoint)); |
- |
- ((SkPoint*)((intptr_t)this + 0 * stride))->set(l, t); |
- ((SkPoint*)((intptr_t)this + 1 * stride))->set(l, b); |
- ((SkPoint*)((intptr_t)this + 2 * stride))->set(r, b); |
- ((SkPoint*)((intptr_t)this + 3 * stride))->set(r, t); |
-} |
- |
void SkPoint::rotateCW(SkPoint* dst) const { |
SkASSERT(dst); |