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

Issue 267413002: Oilpan: Prepare to move UA shadow elemnts for date/time input types to Oilpan heap. (Closed)

Created:
6 years, 7 months ago by tkent
Modified:
6 years, 7 months ago
CC:
blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org
Visibility:
Public.

Description

Oilpan: Prepare to move UA shadow elemnts for date/time input types to Oilpan heap. This CL is a preparation to move the following classes: - DateTimeEditElement - DateTimeEditElement::EditControlOwner as GarbageCollectedMixin BaseMultipleFieldsDateAndTimeInputType implements it. - DateTimeFieldElement and its subclasses - DateTimeFieldElement::FieldOwner as GarbageCollectedMixin DateTimeEditElement implements it. BUG=357163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173533

Patch Set 1 #

Total comments: 2

Patch Set 2 : nits #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -63 lines) Patch
M Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/shadow/DateTimeEditElement.h View 4 chunks +9 lines, -6 lines 2 comments Download
M Source/core/html/shadow/DateTimeEditElement.cpp View 1 14 chunks +24 lines, -15 lines 0 comments Download
M Source/core/html/shadow/DateTimeFieldElement.h View 1 4 chunks +4 lines, -3 lines 1 comment Download
M Source/core/html/shadow/DateTimeFieldElement.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/html/shadow/DateTimeFieldElements.h View 13 chunks +13 lines, -13 lines 0 comments Download
M Source/core/html/shadow/DateTimeFieldElements.cpp View 16 chunks +26 lines, -26 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tkent
Please review this.
6 years, 7 months ago (2014-05-07 09:55:50 UTC) #1
haraken
LGTM
6 years, 7 months ago (2014-05-07 10:19:46 UTC) #2
haraken
https://codereview.chromium.org/267413002/diff/1/Source/core/html/shadow/DateTimeEditElement.cpp File Source/core/html/shadow/DateTimeEditElement.cpp (right): https://codereview.chromium.org/267413002/diff/1/Source/core/html/shadow/DateTimeEditElement.cpp#newcode459 Source/core/html/shadow/DateTimeEditElement.cpp:459: // We can't trace Vector<RawPtr<T>>. Nit: We normally don't ...
6 years, 7 months ago (2014-05-07 10:19:58 UTC) #3
zerny-chromium
lgtm https://codereview.chromium.org/267413002/diff/1/Source/core/html/shadow/DateTimeFieldElement.h File Source/core/html/shadow/DateTimeFieldElement.h (right): https://codereview.chromium.org/267413002/diff/1/Source/core/html/shadow/DateTimeFieldElement.h#newcode80 Source/core/html/shadow/DateTimeFieldElement.h:80: virtual void trace(Visitor*); Nit: OVERRIDE
6 years, 7 months ago (2014-05-07 10:44:13 UTC) #4
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 7 months ago (2014-05-07 14:12:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/267413002/40001
6 years, 7 months ago (2014-05-07 14:13:59 UTC) #6
commit-bot: I haz the power
Change committed as 173533
6 years, 7 months ago (2014-05-07 14:43:00 UTC) #7
Mads Ager (chromium)
This looks great. Can we use strong owner pointers in this hierarchy? (I think we ...
6 years, 7 months ago (2014-05-07 14:55:08 UTC) #8
tkent
6 years, 7 months ago (2014-05-08 01:11:36 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/267413002/diff/40001/Source/core/html/shadow/...
File Source/core/html/shadow/DateTimeEditElement.h (right):

https://codereview.chromium.org/267413002/diff/40001/Source/core/html/shadow/...
Source/core/html/shadow/DateTimeEditElement.h:154:
RawPtrWillBeWeakMember<EditControlOwner> m_editControlOwner;
On 2014/05/07 14:55:08, Mads Ager (chromium) wrote:
> Can this be a Member instead of a WeakMember? I looks like this entire
structure
> should always live and die together? I think we can just have Member
references
> from owner to child and from child to owner. Then this entire structure will
die
> in the same GC round and there is no need for weak processing.

Right.  It can be a Member.  I'll make a CL.
It's a weak pointer only if !ENABLE(OILPAN).

Powered by Google App Engine
This is Rietveld 408576698