Index: Source/core/rendering/PointerEventsHitRules.cpp |
diff --git a/Source/core/rendering/PointerEventsHitRules.cpp b/Source/core/rendering/PointerEventsHitRules.cpp |
index 1691f0dfb8c1da42fa38cbaf0495132a702a82e4..375801d230942524e92fd1b1d159ff900064796b 100644 |
--- a/Source/core/rendering/PointerEventsHitRules.cpp |
+++ b/Source/core/rendering/PointerEventsHitRules.cpp |
@@ -20,8 +20,16 @@ |
#include "config.h" |
#include "core/rendering/PointerEventsHitRules.h" |
+#include "wtf/Assertions.h" |
+ |
namespace blink { |
+struct SameSizeAsPointerEventsHitRules { |
+ unsigned bitfields; |
+}; |
+ |
+COMPILE_ASSERT(sizeof(PointerEventsHitRules) <= sizeof(SameSizeAsPointerEventsHitRules), PointerEventsHitRules_should_stay_small); |
+ |
PointerEventsHitRules::PointerEventsHitRules(EHitTesting hitTesting, const HitTestRequest& request, EPointerEvents pointerEvents) |
: requireVisible(false) |
, requireFill(false) |