Index: Source/core/rendering/PointerEventsHitRules.cpp |
diff --git a/Source/core/rendering/PointerEventsHitRules.cpp b/Source/core/rendering/PointerEventsHitRules.cpp |
index 1691f0dfb8c1da42fa38cbaf0495132a702a82e4..39320b03cf7673182d9bbd212702517d2205220d 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 <base/macros.h> |
rwlbuis
2014/10/03 18:25:45
not lgtm
I forgot about this. This does not seem
Sunil Ratnu
2014/10/04 09:06:17
Oops. My mistake. Corrected the include now.
|
+ |
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) |