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

Issue 277753003: Oilpan: Prepare to move FormController and DocumentState to Oilpan heap, and remove RefPtrs to HTML… (Closed)

Created:
6 years, 7 months ago by tkent
Modified:
6 years, 7 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, gavinp+loader_chromium.org, Nate Chapin, rwlbuis
Visibility:
Public.

Description

Oilpan: Prepare to move FormController and DocumentState to Oilpan heap, and remove RefPtrs to HTMLFormControlElement and HTMLFormControlElementWithState. Note: ValidationMessage has a raw pointer member to HTMLFormControlElement. This CL doesn't make it traceable because a CL to remove ValidationMessage class is in-progress. A ValidationMessage object is owned by the HTMLFormControlElement object and the raw pointer is safe. BUG=357163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173710

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -15 lines) Patch
M Source/core/dom/Document.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLFormElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/FormController.h View 3 chunks +11 lines, -8 lines 3 comments Download
M Source/core/html/forms/FormController.cpp View 2 chunks +12 lines, -2 lines 0 comments Download
M Source/core/loader/HistoryItem.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
tkent
Please review this.
6 years, 7 months ago (2014-05-09 02:17:55 UTC) #1
keishi
lgtm
6 years, 7 months ago (2014-05-09 02:25:44 UTC) #2
haraken
LGTM
6 years, 7 months ago (2014-05-09 02:31:17 UTC) #3
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 7 months ago (2014-05-09 02:41:05 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/277753003/1
6 years, 7 months ago (2014-05-09 02:42:50 UTC) #5
commit-bot: I haz the power
Change committed as 173710
6 years, 7 months ago (2014-05-09 03:37:49 UTC) #6
Mads Ager (chromium)
LGTM https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormController.h File Source/core/html/forms/FormController.h (right): https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormController.h#newcode77 Source/core/html/forms/FormController.h:77: class DocumentState : public RefCountedWillBeGarbageCollectedFinalized<DocumentState> { Looks like ...
6 years, 7 months ago (2014-05-09 05:40:07 UTC) #7
tkent
https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormController.h File Source/core/html/forms/FormController.h (right): https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormController.h#newcode77 Source/core/html/forms/FormController.h:77: class DocumentState : public RefCountedWillBeGarbageCollectedFinalized<DocumentState> { On 2014/05/09 05:40:08, ...
6 years, 7 months ago (2014-05-09 06:07:22 UTC) #8
zerny-chromium
lgtm2 https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormController.h File Source/core/html/forms/FormController.h (right): https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormController.h#newcode77 Source/core/html/forms/FormController.h:77: class DocumentState : public RefCountedWillBeGarbageCollectedFinalized<DocumentState> { On 2014/05/09 ...
6 years, 7 months ago (2014-05-09 06:41:17 UTC) #9
Mads Ager (chromium)
6 years, 7 months ago (2014-05-09 06:56:33 UTC) #10
Message was sent while issue was closed.
On 2014/05/09 06:41:17, zerny-chromium wrote:
> lgtm2
> 
>
https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormC...
> File Source/core/html/forms/FormController.h (right):
> 
>
https://codereview.chromium.org/277753003/diff/1/Source/core/html/forms/FormC...
> Source/core/html/forms/FormController.h:77: class DocumentState : public
> RefCountedWillBeGarbageCollectedFinalized<DocumentState> {
> On 2014/05/09 06:07:23, tkent wrote:
> > On 2014/05/09 05:40:08, Mads Ager (chromium) wrote:
> > > Looks like this one does not need finalization and could be
GarbageCollected
> > > (with the declare empty destructor macro)?
> > 
> > I tried it, but blink_gc_plugin warned that HeapHashSet needed finalization.
> 
> Yes. The ListHashSet currently has a user declared destructor but is a noop
when
> using the HeapAllocator. I'll make a followup CL to remove it.

Thank you! :)

Powered by Google App Engine
This is Rietveld 408576698