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

Unified Diff: src/core/SkAntiRun.h

Issue 2471133002: Set analytic AA as default. (Closed)
Patch Set: Add parsedpaths to expected failure Created 4 years, 1 month 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 | « infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json ('k') | src/core/SkScan.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkAntiRun.h
diff --git a/src/core/SkAntiRun.h b/src/core/SkAntiRun.h
index 5ac0e62a6ce99129f356c43709b14c45c5fb2712..8b19036d6c96d6f947984ca6c1f8f1c109318383 100644
--- a/src/core/SkAntiRun.h
+++ b/src/core/SkAntiRun.h
@@ -23,6 +23,7 @@ public:
// Return 0-255 given 0-256
static inline SkAlpha CatchOverflow(int alpha) {
+ SkASSERT(alpha >= 0 && alpha <= 256);
return alpha - (alpha >> 8);
}
« no previous file with comments | « infra/bots/recipes/swarm_test.expected/recipe_with_gerrit_patch.json ('k') | src/core/SkScan.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698