Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 570435869b498dbed2bfc7d557084afe66bf2db4..f55ca5e12721626df873c7836e3829e46018f9e4 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -70,7 +70,7 @@ bool SkCanvas::wouldOverwriteEntireSurface(const SkRect* rect, const SkPaint* pa |
SkRect devRect; |
this->getTotalMatrix().mapRect(&devRect, *rect); |
- if (devRect.contains(bounds)) { |
+ if (!devRect.contains(bounds)) { |
return false; |
} |
} |