Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: src/core/SkCanvas.cpp

Issue 2246503003: Assert fDeviceClipBounds is always empty when clip is empty (Closed) Base URL: https://skia.googlesource.com/skia.git@qr
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkCanvas.cpp
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index 1766fb875171803ec1fb4f056c7ffb87c92a6d05..d07a893375e09a87f2c3c5ad41c85bbf7a1e46ff 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -1861,7 +1861,7 @@ bool SkCanvas::quickReject(const SkRect& src) const {
// Verify that fDeviceClipBounds are set properly.
SkRect tmp = qr_clip_bounds(fMCRec->fRasterClip.getBounds());
if (fMCRec->fRasterClip.isEmpty()) {
- SkASSERT(fDeviceClipBounds.isEmpty() || tmp == fDeviceClipBounds);
+ SkASSERT(fDeviceClipBounds.isEmpty());
} else {
SkASSERT(tmp == fDeviceClipBounds);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698