Chromium Code Reviews| Index: src/core/SkEdge.h |
| diff --git a/src/core/SkEdge.h b/src/core/SkEdge.h |
| index db6f43085dadf88bd4b28cd128a2280d86935d92..c3adbf85cb2d83afe54ee31f10330960e435fb93 100644 |
| --- a/src/core/SkEdge.h |
| +++ b/src/core/SkEdge.h |
| @@ -15,7 +15,7 @@ |
| #include "SkMath.h" |
| // This correctly favors the lower-pixel when y0 is on a 1/2 pixel boundary |
| -#define SkEdge_Compute_DY(top, y0) ((top << 6) + 32 - (y0)) |
| +#define SkEdge_Compute_DY(top, y0) (SkLeftShift(top, 6) + 32 - (y0)) |
| struct SkEdge { |
| enum Type { |