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

Issue 1373433002: Split out CSSPrimitiveValue's PropertyID into CSSCustomIdentValue (Closed)

Created:
5 years, 3 months ago by sashab
Modified:
5 years, 2 months ago
CC:
chromium-reviews, esprehn, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@split_string
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Split out CSSPrimitiveValue's PropertyID into CSSCustomIdentValue Move PropertyID CSSPrimitiveValues into CSSCustomIdentValue, to be stored as an optimization for will-change and other properties (the spec specifies these as custom identifiers, but since they represent properties they can be stored as property IDs). BUG=523893 Committed: https://crrev.com/2e9a05075d75ebd9fb67718a214f32bc10ac2782 Cr-Commit-Position: refs/heads/master@{#353664}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review feedback #

Patch Set 3 : Rebase & cleanup #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Review feedback and small fixes #

Patch Set 7 : Rebase #

Total comments: 2

Patch Set 8 : Review feedback (changed comment) #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -46 lines) Patch
M third_party/WebKit/Source/core/css/CSSCalculationValue.cpp View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSCustomIdentValue.h View 1 2 3 4 5 6 7 2 chunks +14 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSCustomIdentValue.cpp View 1 2 3 4 5 1 chunk +13 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSPrimitiveValue.h View 2 3 4 5 6 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp View 2 3 4 5 6 chunks +0 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSValuePool.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSValuePool.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/CSSToStyleMap.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -5 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (5 generated)
sashab
PTAL. Can merge with crrev.com/1306823004 if needed.
5 years, 3 months ago (2015-09-25 04:44:56 UTC) #2
sashab
5 years, 3 months ago (2015-09-25 04:45:16 UTC) #3
Timothy Loh
If we do this, then the patch moving the other string types out of CSSPrimitiveValue ...
5 years, 3 months ago (2015-09-25 05:44:16 UTC) #4
sashab
Updated both this patch and crrev.com/1306823004 as per feedback. https://codereview.chromium.org/1373433002/diff/1/third_party/WebKit/Source/core/css/CSSStringValues.h File third_party/WebKit/Source/core/css/CSSStringValues.h (right): https://codereview.chromium.org/1373433002/diff/1/third_party/WebKit/Source/core/css/CSSStringValues.h#newcode42 third_party/WebKit/Source/core/css/CSSStringValues.h:42: ...
5 years, 2 months ago (2015-09-28 03:37:03 UTC) #5
alancutter (OOO until 2018)
https://codereview.chromium.org/1373433002/diff/1/third_party/WebKit/Source/core/css/CSSStringValues.h File third_party/WebKit/Source/core/css/CSSStringValues.h (right): https://codereview.chromium.org/1373433002/diff/1/third_party/WebKit/Source/core/css/CSSStringValues.h#newcode42 third_party/WebKit/Source/core/css/CSSStringValues.h:42: static PassRefPtrWillBeRawPtr<CSSCustomIdentValue> create(CSSPropertyID propertyID) On 2015/09/28 at 03:37:03, sashab ...
5 years, 2 months ago (2015-09-30 02:08:51 UTC) #6
alancutter (OOO until 2018)
5 years, 2 months ago (2015-09-30 02:08:51 UTC) #7
sashab
Thanks alancutter -- feedback responded to. timloh ptal :)
5 years, 2 months ago (2015-10-06 00:34:47 UTC) #8
alancutter (OOO until 2018)
lgtm with nit. https://codereview.chromium.org/1373433002/diff/120001/third_party/WebKit/Source/core/css/CSSCustomIdentValue.h File third_party/WebKit/Source/core/css/CSSCustomIdentValue.h (right): https://codereview.chromium.org/1373433002/diff/120001/third_party/WebKit/Source/core/css/CSSCustomIdentValue.h#newcode24 third_party/WebKit/Source/core/css/CSSCustomIdentValue.h:24: // create(String) method. We won't want ...
5 years, 2 months ago (2015-10-07 02:05:10 UTC) #9
sashab
Oh, don't need timloh as an owner on this one. Thanks alancutter :) https://codereview.chromium.org/1373433002/diff/120001/third_party/WebKit/Source/core/css/CSSCustomIdentValue.h File ...
5 years, 2 months ago (2015-10-07 02:21:02 UTC) #11
sashab
Err wait... Yes I do. Timloh please review. Lol
5 years, 2 months ago (2015-10-07 03:21:52 UTC) #13
sashab
Ping timloh
5 years, 2 months ago (2015-10-09 05:06:19 UTC) #14
Timothy Loh
On 2015/10/09 05:06:19, sashab wrote: > Ping timloh lgtm
5 years, 2 months ago (2015-10-12 04:08:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1373433002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1373433002/180001
5 years, 2 months ago (2015-10-12 23:04:42 UTC) #18
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 2 months ago (2015-10-13 02:07:58 UTC) #19
commit-bot: I haz the power
5 years, 2 months ago (2015-10-13 02:08:58 UTC) #20
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/2e9a05075d75ebd9fb67718a214f32bc10ac2782
Cr-Commit-Position: refs/heads/master@{#353664}

Powered by Google App Engine
This is Rietveld 408576698