Index: ui/message_center/views/notification_view_unittest.cc |
diff --git a/ui/message_center/views/notification_view_unittest.cc b/ui/message_center/views/notification_view_unittest.cc |
index 1944be0dbc3726fc264de77046550bee4658de87..2e488dadf6c13f944e1a637397dcc64d3db5464c 100644 |
--- a/ui/message_center/views/notification_view_unittest.cc |
+++ b/ui/message_center/views/notification_view_unittest.cc |
@@ -100,8 +100,8 @@ class NotificationViewTest : public views::ViewsTestBase, |
gfx::Size canvas_size = view->bounds().size(); |
gfx::Canvas canvas(canvas_size, 1.0 /* image_scale */, |
true /* is_opaque */); |
- COMPILE_ASSERT(kBitmapColor != SK_ColorBLACK, |
- bitmap_color_matches_background_color); |
+ static_assert(kBitmapColor != SK_ColorBLACK, |
+ "bitmap_color_matches_background_color"); |
canvas.DrawColor(SK_ColorBLACK); |
view->OnPaint(&canvas); |