| Index: src/core/SkDraw.cpp
 | 
| diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
 | 
| index 878dca50671b4680f97da8a50fc59f473cf9417b..ab2d5cccb30ed5f5173b3c544b9c57f44a4150e3 100644
 | 
| --- a/src/core/SkDraw.cpp
 | 
| +++ b/src/core/SkDraw.cpp
 | 
| @@ -443,6 +443,10 @@ static void aa_square_proc(const PtProcRec& rec, const SkPoint devPts[],
 | 
|  // If this guy returns true, then chooseProc() must return a valid proc
 | 
|  bool PtProcRec::init(SkCanvas::PointMode mode, const SkPaint& paint,
 | 
|                       const SkMatrix* matrix, const SkRasterClip* rc) {
 | 
| +    if ((unsigned)mode > (unsigned)SkCanvas::kPolygon_PointMode) {
 | 
| +        return false;
 | 
| +    }
 | 
| +
 | 
|      if (paint.getPathEffect()) {
 | 
|          return false;
 | 
|      }
 | 
| 
 |