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

Issue 612823004: Use bit-fields for space saving in PointerEventsHitRules (Closed)

Created:
6 years, 2 months ago by Sunil Ratnu
Modified:
6 years, 2 months ago
Reviewers:
keishi, rwlbuis
CC:
blink-reviews, blink-reviews-rendering, zoltan1, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Use bit-fields for space saving in PointerEventsHitRules Use bit-fields for space saving in PointerEventsHitRules. This makes the class size shrink to the size of an unsigned. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183233

Patch Set 1 #

Patch Set 2 : Added COMPILE_ASSERT & s/bool/unsigned #

Total comments: 2

Patch Set 3 : Correction in #include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M Source/core/rendering/PointerEventsHitRules.h View 1 2 1 chunk +6 lines, -8 lines 0 comments Download
M Source/core/rendering/PointerEventsHitRules.cpp View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
Sunil Ratnu
Hi all, A pretty simple change. Please review this. Thanks! Sunil
6 years, 2 months ago (2014-09-29 14:18:37 UTC) #2
rwlbuis
Hi, On 2014/09/29 14:18:37, Sunil Ratnu wrote: > Hi all, > > A pretty simple ...
6 years, 2 months ago (2014-09-29 14:22:08 UTC) #3
Sunil Ratnu
On 2014/09/29 14:22:08, rwlbuis wrote: > Hi, > > On 2014/09/29 14:18:37, Sunil Ratnu wrote: ...
6 years, 2 months ago (2014-09-29 14:28:08 UTC) #4
Sunil Ratnu
-tkent as he is already overloaded. Hi Rob, Could you please have a look? I ...
6 years, 2 months ago (2014-10-01 07:29:43 UTC) #5
rwlbuis
On 2014/10/01 07:29:43, Sunil Ratnu wrote: > -tkent as he is already overloaded. > > ...
6 years, 2 months ago (2014-10-01 14:39:57 UTC) #7
Sunil Ratnu
On 2014/10/01 14:39:57, rwlbuis wrote: > On 2014/10/01 07:29:43, Sunil Ratnu wrote: > > -tkent ...
6 years, 2 months ago (2014-10-03 08:06:04 UTC) #8
rwlbuis
lgtm
6 years, 2 months ago (2014-10-03 18:22:39 UTC) #9
rwlbuis
Your description may need to be updated though. On my system the size went from ...
6 years, 2 months ago (2014-10-03 18:23:58 UTC) #10
rwlbuis
https://codereview.chromium.org/612823004/diff/20001/Source/core/rendering/PointerEventsHitRules.cpp File Source/core/rendering/PointerEventsHitRules.cpp (right): https://codereview.chromium.org/612823004/diff/20001/Source/core/rendering/PointerEventsHitRules.cpp#newcode23 Source/core/rendering/PointerEventsHitRules.cpp:23: #include <base/macros.h> not lgtm I forgot about this. This ...
6 years, 2 months ago (2014-10-03 18:25:45 UTC) #11
Sunil Ratnu
Hi Rob, Thanks for the review. I've corrected the #include now. Please have a look. ...
6 years, 2 months ago (2014-10-04 09:06:17 UTC) #13
rwlbuis
lgtm
6 years, 2 months ago (2014-10-04 17:41:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/612823004/60001
6 years, 2 months ago (2014-10-04 17:42:26 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-10-04 19:58:33 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as 183233

Powered by Google App Engine
This is Rietveld 408576698