| 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..ea589c9d6d67cb726cf0848aae101e4dee0a6830 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,
|
| + "The bitmap color must match the background color");
|
| canvas.DrawColor(SK_ColorBLACK);
|
| view->OnPaint(&canvas);
|
|
|
|
|