Index: chrome/browser/extensions/window_controller.cc |
diff --git a/chrome/browser/extensions/window_controller.cc b/chrome/browser/extensions/window_controller.cc |
index f2624ed9cd9467b12ba7e605cb576487a6951401..e35be666358098c9d7b660ce78e1f123eca5216d 100644 |
--- a/chrome/browser/extensions/window_controller.cc |
+++ b/chrome/browser/extensions/window_controller.cc |
@@ -21,8 +21,8 @@ namespace extensions { |
WindowController::TypeFilter WindowController::GetAllWindowFilter() { |
// This needs to be updated if there is a change to |
// extensions::api::windows:WindowType. |
- COMPILE_ASSERT(api::windows::WINDOW_TYPE_LAST == 5, |
- Update_extensions_WindowController_to_match_WindowType); |
+ static_assert(api::windows::WINDOW_TYPE_LAST == 5, |
+ "Update extensions WindowController to match WindowType"); |
return ((1 << api::windows::WINDOW_TYPE_NORMAL) | |
(1 << api::windows::WINDOW_TYPE_PANEL) | |
(1 << api::windows::WINDOW_TYPE_POPUP) | |