diff options
Diffstat (limited to 'src/core/SkPaint.cpp')
-rw-r--r-- | src/core/SkPaint.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index c023dbf206..b7b6a34e1d 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -1232,8 +1232,7 @@ static SkScalar sk_relax(SkScalar x) { void SkScalerContext::MakeRec(const SkPaint& paint, const SkMatrix* deviceMatrix, Rec* rec) { - SkASSERT(deviceMatrix == NULL || - (deviceMatrix->getType() & SkMatrix::kPerspective_Mask) == 0); + SkASSERT(deviceMatrix == NULL || !deviceMatrix->hasPerspective()); rec->fFontID = SkTypeface::UniqueID(paint.getTypeface()); rec->fTextSize = paint.getTextSize(); |