Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / PointerEventsHitRules.cpp
index 1691f0d..375801d 100644 (file)
 #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)