Index: chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
index 9f1b86e59013792c196becb864fee2a3aebd146e..218926d00318d1bf7f8dcf5250715cfb2066d68a 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc |
@@ -1859,9 +1859,10 @@ const float kDeviceScaleFactorExpectations[] = { |
1.0f, |
}; |
-COMPILE_ASSERT( |
+static_assert( |
arraysize(kDragPoints) == arraysize(kDeviceScaleFactorExpectations), |
- kDragPoints_and_kDeviceScaleFactorExpectations_must_have_same_size); |
+ "kDragPoints and kDeviceScaleFactorExpectations must have the same " |
+ "number of elements"); |
// Drags tab to |kDragPoints[index]|, then calls the next step function. |
void CursorDeviceScaleFactorStep( |