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

Unified Diff: src/core/SkBitmapProcState.cpp

Issue 100473011: be more careful about OOB source pixels in the scanline rescaler, and (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: whitespace whoopsie Created 7 years 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 | « src/core/SkBitmapFilter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBitmapProcState.cpp
diff --git a/src/core/SkBitmapProcState.cpp b/src/core/SkBitmapProcState.cpp
index c93a2b5cd7799fc12d6627fdf7c259e711a9cc76..39f6a7803920fcbc2d0f9d3c1741aa762086dc09 100644
--- a/src/core/SkBitmapProcState.cpp
+++ b/src/core/SkBitmapProcState.cpp
@@ -409,8 +409,6 @@ bool SkBitmapProcState::chooseProcs(const SkMatrix& inv, const SkPaint& paint) {
// platform-specific one might succeed, so it might be premature here
// to fall back to bilerp. This needs thought.
- SkASSERT(fInvType > SkMatrix::kTranslate_Mask);
-
if (!this->setBitmapFilterProcs()) {
fFilterLevel = SkPaint::kLow_FilterLevel;
}
« no previous file with comments | « src/core/SkBitmapFilter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698