Index: chrome/browser/ui/tabs/tab_utils.cc |
diff --git a/chrome/browser/ui/tabs/tab_utils.cc b/chrome/browser/ui/tabs/tab_utils.cc |
index a61996701309b28c8d94d985247a30ef396d64ae..1f17621f9057367f076a8a60bfc4a6d613ac76b8 100644 |
--- a/chrome/browser/ui/tabs/tab_utils.cc |
+++ b/chrome/browser/ui/tabs/tab_utils.cc |
@@ -62,8 +62,8 @@ double TabRecordingIndicatorAnimation::GetCurrentValue() const { |
scoped_ptr<TabRecordingIndicatorAnimation> |
TabRecordingIndicatorAnimation::Create() { |
MultiAnimation::Parts parts; |
- COMPILE_ASSERT(kCaptureIndicatorThrobCycles % 2 != 0, |
- must_be_odd_so_animation_finishes_in_showing_state); |
+ static_assert(kCaptureIndicatorThrobCycles % 2 != 0, |
+ "odd number of cycles required so animation finishes in showing state"); |
for (int i = 0; i < kCaptureIndicatorThrobCycles; ++i) { |
parts.push_back(MultiAnimation::Part( |
i % 2 ? kIndicatorFadeOutDurationMs : kIndicatorFadeInDurationMs, |