Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1439)

Unified Diff: Source/core/rendering/PointerEventsHitRules.h

Issue 612823004: Use bit-fields for space saving in PointerEventsHitRules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Correction in #include Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/rendering/PointerEventsHitRules.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/PointerEventsHitRules.h
diff --git a/Source/core/rendering/PointerEventsHitRules.h b/Source/core/rendering/PointerEventsHitRules.h
index 21659e9d526bd7ed9bf7e1a2ce15eadd5e6a7cf9..20e0af0a89af51d1e73f97155ac8dce4dab6c49f 100644
--- a/Source/core/rendering/PointerEventsHitRules.h
+++ b/Source/core/rendering/PointerEventsHitRules.h
@@ -35,16 +35,14 @@ public:
PointerEventsHitRules(EHitTesting, const HitTestRequest&, EPointerEvents);
- bool requireVisible;
- bool requireFill;
- bool requireStroke;
- bool canHitStroke;
- bool canHitFill;
- bool canHitBoundingBox;
+ unsigned requireVisible : 1;
+ unsigned requireFill : 1;
+ unsigned requireStroke : 1;
+ unsigned canHitStroke : 1;
+ unsigned canHitFill : 1;
+ unsigned canHitBoundingBox : 1;
};
}
#endif
-
-// vim:ts=4:noet
« no previous file with comments | « no previous file | Source/core/rendering/PointerEventsHitRules.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698