Index: include/private/SkRecords.h |
diff --git a/include/private/SkRecords.h b/include/private/SkRecords.h |
index 1f2807842c4f76a3a42c7beff50bbbe0bca4cdbc..4268bb469cd8a9d3df0aa53580bf6966af0ab5bd 100644 |
--- a/include/private/SkRecords.h |
+++ b/include/private/SkRecords.h |
@@ -247,7 +247,7 @@ struct RegionOpAndAA { |
SkRegion::Op op : 31; // This really only needs to be 3, but there's no win today to do so. |
unsigned aa : 1; // MSVC won't pack an enum with an bool, so we call this an unsigned. |
}; |
-SK_COMPILE_ASSERT(sizeof(RegionOpAndAA) == 4, RegionOpAndAASize); |
+static_assert(sizeof(RegionOpAndAA) == 4, "RegionOpAndAASize"); |
RECORD3(ClipPath, SkIRect, devBounds, PreCachedPath, path, RegionOpAndAA, opAA); |
RECORD3(ClipRRect, SkIRect, devBounds, SkRRect, rrect, RegionOpAndAA, opAA); |