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

Issue 184313004: Move all RefPtr's to CSSValue to oilpan transition types, except for the one in CSSCursorImageValue. (Closed)

Created:
6 years, 9 months ago by wibling-chromium
Modified:
6 years, 9 months ago
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), rwlbuis, rune+blink, dglazkov+blink, dstockwell, Timothy Loh, apavlov+blink_chromium.org, darktears, Steve Block, dino_apple.com, Eric Willigers
Visibility:
Public.

Description

Move all RefPtr's to CSSValue to oilpan transition types, except for the one in CSSCursorImageValue. This change gets rid of all but one RefPtr to CSSValue. I have introduced a few persistents core/animation/..., core/css/StylePropertySet, and ElementStyleResources. I plan to attack the one in CSSCursorImageValue subsequently, and then change CSSValue from RefCountedGarbageCollected to GarbageCollectedFinalized. R=ager@chromium.org, erik.corry@gmail.com, haraken@chromium.org, oilpan-reviews@chromium.org, tkent@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG=341815 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168466 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168635

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rebase #

Patch Set 3 : Fixing tests #

Total comments: 2

Patch Set 4 : Finalization #

Total comments: 2

Patch Set 5 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -76 lines) Patch
M Source/core/animation/AnimatableNeutralTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/AnimatableUnknown.h View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/animation/AnimatableUnknownTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSProperty.h View 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/css/CSSProperty.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSValue.h View 1 chunk +3 lines, -22 lines 0 comments Download
M Source/core/css/CSSValueList.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/css/CSSValueList.cpp View 4 chunks +4 lines, -3 lines 0 comments Download
M Source/core/css/StylePropertySerializer.cpp View 7 chunks +9 lines, -9 lines 0 comments Download
M Source/core/css/StylePropertySet.h View 1 2 3 4 8 chunks +29 lines, -7 lines 0 comments Download
M Source/core/css/StylePropertySet.cpp View 1 2 3 11 chunks +46 lines, -10 lines 0 comments Download
M Source/core/css/parser/BisonCSSParser.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/parser/BisonCSSParser-in.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.h View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M Source/core/css/parser/CSSPropertyParser.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/AnimatedStyleBuilder.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/resolver/ElementStyleResources.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
wibling-chromium
6 years, 9 months ago (2014-03-04 15:25:41 UTC) #1
haraken
LGTM. https://codereview.chromium.org/184313004/diff/1/Source/core/animation/AnimatableUnknown.h File Source/core/animation/AnimatableUnknown.h (right): https://codereview.chromium.org/184313004/diff/1/Source/core/animation/AnimatableUnknown.h#newcode40 Source/core/animation/AnimatableUnknown.h:40: class AnimatableUnknown FINAL : public AnimatableValue { Nit: ...
6 years, 9 months ago (2014-03-04 15:34:24 UTC) #2
zerny-chromium
lgtm https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSValue.h File Source/core/css/CSSValue.h (right): https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSValue.h#newcode235 Source/core/css/CSSValue.h:235: const RefPtrWillBeMember<CSSValueType>& secondPtr = secondVector[i]; Nit: These should ...
6 years, 9 months ago (2014-03-05 03:41:44 UTC) #3
wibling-chromium
https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSValue.h File Source/core/css/CSSValue.h (right): https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSValue.h#newcode235 Source/core/css/CSSValue.h:235: const RefPtrWillBeMember<CSSValueType>& secondPtr = secondVector[i]; On 2014/03/05 03:41:44, zerny-chromium ...
6 years, 9 months ago (2014-03-05 08:02:13 UTC) #4
wibling-chromium
Thanks for the reviews! https://codereview.chromium.org/184313004/diff/1/Source/core/animation/AnimatableUnknown.h File Source/core/animation/AnimatableUnknown.h (right): https://codereview.chromium.org/184313004/diff/1/Source/core/animation/AnimatableUnknown.h#newcode40 Source/core/animation/AnimatableUnknown.h:40: class AnimatableUnknown FINAL : public ...
6 years, 9 months ago (2014-03-05 08:16:51 UTC) #5
Erik Corry
https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSProperty.h File Source/core/css/CSSProperty.h (right): https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSProperty.h#newcode196 Source/core/css/CSSProperty.h:196: static const bool canMoveWithMemcpy = true; On 2014/03/05 08:16:52, ...
6 years, 9 months ago (2014-03-05 08:41:05 UTC) #6
Mads Ager (chromium)
LGTM
6 years, 9 months ago (2014-03-05 09:05:32 UTC) #7
wibling-chromium
On 2014/03/05 08:41:05, Erik Corry wrote: > https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSProperty.h > File Source/core/css/CSSProperty.h (right): > > https://codereview.chromium.org/184313004/diff/1/Source/core/css/CSSProperty.h#newcode196 ...
6 years, 9 months ago (2014-03-05 09:22:46 UTC) #8
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 9 months ago (2014-03-05 09:51:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/184313004/20001
6 years, 9 months ago (2014-03-05 09:52:03 UTC) #10
wibling-chromium
The CQ bit was unchecked by wibling@chromium.org
6 years, 9 months ago (2014-03-05 11:20:37 UTC) #11
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 9 months ago (2014-03-05 11:21:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/184313004/20001
6 years, 9 months ago (2014-03-05 11:21:46 UTC) #13
commit-bot: I haz the power
Change committed as 168466
6 years, 9 months ago (2014-03-05 11:22:45 UTC) #14
wibling-chromium
A revert of this CL has been created in https://codereview.chromium.org/184853009/ by wibling@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-05 15:52:56 UTC) #15
wibling-chromium
This should now work without breaking any tests in oilpan. The issue was twofold. I ...
6 years, 9 months ago (2014-03-06 13:04:29 UTC) #16
Mads Ager (chromium)
LGTM with the finalization fixed. https://codereview.chromium.org/184313004/diff/40001/Source/core/css/StylePropertySet.h File Source/core/css/StylePropertySet.h (right): https://codereview.chromium.org/184313004/diff/40001/Source/core/css/StylePropertySet.h#newcode53 Source/core/css/StylePropertySet.h:53: void deref(); I think ...
6 years, 9 months ago (2014-03-06 13:30:09 UTC) #17
wibling-chromium
https://codereview.chromium.org/184313004/diff/40001/Source/core/css/StylePropertySet.h File Source/core/css/StylePropertySet.h (right): https://codereview.chromium.org/184313004/diff/40001/Source/core/css/StylePropertySet.h#newcode53 Source/core/css/StylePropertySet.h:53: void deref(); On 2014/03/06 13:30:10, Mads Ager (chromium) wrote: ...
6 years, 9 months ago (2014-03-06 13:34:35 UTC) #18
Mads Ager (chromium)
LGTM https://codereview.chromium.org/184313004/diff/60001/Source/core/css/StylePropertySet.h File Source/core/css/StylePropertySet.h (right): https://codereview.chromium.org/184313004/diff/60001/Source/core/css/StylePropertySet.h#newcode50 Source/core/css/StylePropertySet.h:50: // destructor. This can be removed once the ...
6 years, 9 months ago (2014-03-06 13:41:45 UTC) #19
wibling-chromium
https://codereview.chromium.org/184313004/diff/60001/Source/core/css/StylePropertySet.h File Source/core/css/StylePropertySet.h (right): https://codereview.chromium.org/184313004/diff/60001/Source/core/css/StylePropertySet.h#newcode50 Source/core/css/StylePropertySet.h:50: // destructor. This can be removed once the ImmutableStylePropertySet's ...
6 years, 9 months ago (2014-03-06 13:47:40 UTC) #20
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 9 months ago (2014-03-06 13:48:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/184313004/80001
6 years, 9 months ago (2014-03-06 13:48:45 UTC) #22
commit-bot: I haz the power
Change committed as 168635
6 years, 9 months ago (2014-03-06 14:05:52 UTC) #23
wibling-chromium
6 years, 9 months ago (2014-03-06 14:19:44 UTC) #24
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/188693002/ by wibling@chromium.org.

The reason for reverting is: Broke the build..

Powered by Google App Engine
This is Rietveld 408576698