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

Issue 2702183002: Incl. custom properties in CSS property UseCounter (Closed)

Created:
3 years, 10 months ago by suzyh_UTC10 (ex-contributor)
Modified:
3 years, 9 months ago
Reviewers:
Timothy Loh
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-css, chromium-reviews, dglazkov+blink, Eric Willigers, Rick Byers, rjwright, rwlbuis, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Incl. custom properties in CSS property UseCounter The CSS property UseCounter records which CSS properties are used on each page. Custom CSS properties were not included. This patch adds a call to the CSS property UseCounter::count method to the parsing code for custom properties. Note that - all custom CSS properties are grouped together with the ID CSSPropertyVariable, and - the BitVector used by the UseCounter is already large enough to include this data; the DCHECK in the count method just needs to be extended to allow the CSSPropertyVariable ID value. BUG=458925 Review-Url: https://codereview.chromium.org/2702183002 Cr-Commit-Position: refs/heads/master@{#456000} Committed: https://chromium.googlesource.com/chromium/src/+/ca5b55100d024fb5b6ed95e9ad3fcb1d1ae24462

Patch Set 1 #

Patch Set 2 : Update test expectations after rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -8 lines) Patch
D third_party/WebKit/LayoutTests/animations/animated-css-property-usecounter-expected.txt View 1 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.cpp View 1 chunk +1 line, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (9 generated)
suzyh_UTC10 (ex-contributor)
3 years, 10 months ago (2017-02-20 05:28:12 UTC) #2
Timothy Loh
On 2017/02/20 05:28:12, suzyh wrote: lgtm
3 years, 10 months ago (2017-02-20 06:27:20 UTC) #3
suzyh_UTC10 (ex-contributor)
On 2017/02/20 at 06:27:20, timloh wrote: > On 2017/02/20 05:28:12, suzyh wrote: > > lgtm ...
3 years, 10 months ago (2017-02-21 00:21:35 UTC) #6
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/2702183002/20001
3 years, 9 months ago (2017-03-10 03:17:47 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/398424) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, ...
3 years, 9 months ago (2017-03-10 03:33:57 UTC) #11
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/2702183002/20001
3 years, 9 months ago (2017-03-10 03:38:20 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 04:56:10 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ca5b55100d024fb5b6ed95e9ad3f...

Powered by Google App Engine
This is Rietveld 408576698