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 20a5cb4c039920e7a143489cf9d728c9f4cb28f4..8443bdca0a47b2e3798eefcb06d940de77a129e7 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( |