Index: Source/core/rendering/PointerEventsHitRules.cpp |
diff --git a/Source/core/rendering/PointerEventsHitRules.cpp b/Source/core/rendering/PointerEventsHitRules.cpp |
index 375801d230942524e92fd1b1d159ff900064796b..f03c974155693df0a2c6fed07fe055c061e410b7 100644 |
--- a/Source/core/rendering/PointerEventsHitRules.cpp |
+++ b/Source/core/rendering/PointerEventsHitRules.cpp |
@@ -28,7 +28,7 @@ struct SameSizeAsPointerEventsHitRules { |
unsigned bitfields; |
}; |
-COMPILE_ASSERT(sizeof(PointerEventsHitRules) <= sizeof(SameSizeAsPointerEventsHitRules), PointerEventsHitRules_should_stay_small); |
+static_assert(sizeof(PointerEventsHitRules) <= sizeof(SameSizeAsPointerEventsHitRules), "PointerEventsHitRules should stay small"); |
PointerEventsHitRules::PointerEventsHitRules(EHitTesting hitTesting, const HitTestRequest& request, EPointerEvents pointerEvents) |
: requireVisible(false) |