Index: Source/platform/scroll/ScrollableArea.cpp |
diff --git a/Source/platform/scroll/ScrollableArea.cpp b/Source/platform/scroll/ScrollableArea.cpp |
index c5a7365096fe8b5f14ffee32125cd8c19568449d..6c059d7bc543a71762ce27ec86be2985ef4d0961 100644 |
--- a/Source/platform/scroll/ScrollableArea.cpp |
+++ b/Source/platform/scroll/ScrollableArea.cpp |
@@ -55,7 +55,7 @@ struct SameSizeAsScrollableArea { |
IntPoint origin; |
}; |
-COMPILE_ASSERT(sizeof(ScrollableArea) == sizeof(SameSizeAsScrollableArea), ScrollableArea_should_stay_small); |
+static_assert(sizeof(ScrollableArea) == sizeof(SameSizeAsScrollableArea), "ScrollableArea should stay small"); |
int ScrollableArea::pixelsPerLineStep() |
{ |