Index: src/core/SkScan_Antihair.cpp |
diff --git a/src/core/SkScan_Antihair.cpp b/src/core/SkScan_Antihair.cpp |
index b14e12bab8c8d3157ae37ec73d3b67ca2e3c2d43..8ee0ba5f98334c0be7fd52729c0bf4ce1db0c4d0 100644 |
--- a/src/core/SkScan_Antihair.cpp |
+++ b/src/core/SkScan_Antihair.cpp |
@@ -250,9 +250,9 @@ public: |
}; |
static inline SkFixed fastfixdiv(SkFDot6 a, SkFDot6 b) { |
- SkASSERT((a << 16 >> 16) == a); |
+ SkASSERT((SkLeftShift(a, 16) >> 16) == a); |
SkASSERT(b != 0); |
- return (a << 16) / b; |
+ return SkLeftShift(a, 16) / b; |
} |
#define SkBITCOUNT(x) (sizeof(x) << 3) |