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

Issue 2551013002: Removed ordering dependencies for EDisplay (Closed)

Created:
4 years ago by sashab
Modified:
4 years ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removed ordering dependencies for EDisplay Removed ordering dependencies for EDisplay from CSSValueKeywords.h. This involved updating ComputedStyleConstants.h to to not use arithmetic operations to convert from CSSValue to the EDisplay enum, and removed the comment requiring the enums match the order in CSSValueKeywords.in. Also added a comment to clarify that the fast paths still rely on the ordering, so not to update them unless the fast paths are updated too. BUG=665272 Committed: https://crrev.com/a9bca4b5fe68c25941b4e89b19227e99d6d4df7e Cr-Commit-Position: refs/heads/master@{#436863}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -14 lines) Patch
M third_party/WebKit/Source/core/css/CSSPrimitiveValueMappings.h View 1 chunk +52 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValueKeywords.in View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
sashab
4 years ago (2016-12-05 04:48:38 UTC) #3
sashab
4 years ago (2016-12-05 04:48:39 UTC) #4
alancutter (OOO until 2018)
Is CSS parsing performance unaffected by this change?
4 years ago (2016-12-05 05:45:30 UTC) #5
alancutter (OOO until 2018)
On 2016/12/05 at 05:45:30, alancutter wrote: > Is CSS parsing performance unaffected by this change? ...
4 years ago (2016-12-05 05:46:39 UTC) #6
alancutter (OOO until 2018)
On 2016/12/05 at 05:46:39, alancutter wrote: > On 2016/12/05 at 05:45:30, alancutter wrote: > > ...
4 years ago (2016-12-05 05:47:31 UTC) #7
sashab
Thanks for the concern -- that was a good observartion. I ran a small microbenchmark ...
4 years ago (2016-12-07 02:48:45 UTC) #8
alancutter (OOO until 2018)
lgtm
4 years ago (2016-12-07 02:58:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2551013002/1
4 years ago (2016-12-07 03:02:37 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-07 04:49:16 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-07 04:51:29 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a9bca4b5fe68c25941b4e89b19227e99d6d4df7e
Cr-Commit-Position: refs/heads/master@{#436863}

Powered by Google App Engine
This is Rietveld 408576698