| Index: ui/native_theme/native_theme_mac.mm
|
| diff --git a/ui/native_theme/native_theme_mac.mm b/ui/native_theme/native_theme_mac.mm
|
| index 6b87f57161a8e8375dbdcaf74c90d0992f2887d2..7c9a156797ccc9e25c4026eb6bba1ac7957eb7bf 100644
|
| --- a/ui/native_theme/native_theme_mac.mm
|
| +++ b/ui/native_theme/native_theme_mac.mm
|
| @@ -56,7 +56,7 @@ SkColor GetSystemColorUsingSwatch(NSColor* color) {
|
| base::ScopedCFTypeRef<CGColorSpaceRef> color_space(
|
| CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB));
|
| const size_t bytes_per_row = 4;
|
| - COMPILE_ASSERT(sizeof(swatch) == bytes_per_row, skcolor_not_4_bytes);
|
| + static_assert(sizeof(swatch) == bytes_per_row, "skcolor should be 4 bytes");
|
| CGBitmapInfo bitmap_info =
|
| kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host;
|
| base::ScopedCFTypeRef<CGContextRef> context(CGBitmapContextCreate(
|
|
|