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

Issue 196983005: Replace big code block to build CSS pseudo name table with a loop. (Closed)

Created:
6 years, 9 months ago by Daniel Bratell
Modified:
6 years, 9 months ago
CC:
blink-reviews, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Replace big code block to build CSS pseudo name table with a loop. Save 8 KB binary size by replacing code that expanded badly with a loop. As a bonus, the code is much more maintainable now. BUG=352113 R=ojan@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169175

Patch Set 1 #

Total comments: 3

Patch Set 2 : Cleaned up after review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -161 lines) Patch
M Source/core/css/CSSSelector.h View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/css/CSSSelector.cpp View 1 1 chunk +106 lines, -161 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Daniel Bratell
ojan, could you please take a look at this patch or redirect it to someone ...
6 years, 9 months ago (2014-03-13 11:05:16 UTC) #1
ojan
lgtm Feel free to ignore my nits if you disagree with them or I missed ...
6 years, 9 months ago (2014-03-13 17:18:44 UTC) #2
Daniel Bratell
On 2014/03/13 17:18:44, ojan wrote: > lgtm > > Feel free to ignore my nits ...
6 years, 9 months ago (2014-03-13 19:31:59 UTC) #3
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 9 months ago (2014-03-13 19:32:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/196983005/20001
6 years, 9 months ago (2014-03-13 19:32:14 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-13 20:14:19 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_blink_rel
6 years, 9 months ago (2014-03-13 20:14:20 UTC) #7
esprehn
I would suggest switch to using std::lower_bound and lazy populating the hash map like we ...
6 years, 9 months ago (2014-03-13 20:49:38 UTC) #8
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 9 months ago (2014-03-13 22:42:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/196983005/20001
6 years, 9 months ago (2014-03-13 22:43:00 UTC) #10
Daniel Bratell
On 2014/03/13 20:49:38, esprehn wrote: > I would suggest switch to using std::lower_bound and lazy ...
6 years, 9 months ago (2014-03-13 22:50:06 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-13 23:33:40 UTC) #12
Message was sent while issue was closed.
Change committed as 169175

Powered by Google App Engine
This is Rietveld 408576698