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

Issue 298043008: [Oilpan]: Move HTMLStackItem and friends to the oilpan heap. (Closed)

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

Description

[Oilpan]: Move HTMLStackItem and friends to the oilpan heap. This change moves the HTMLStackItem to the oilpan heap. This removes a RefPtr from HTMLStackItem into the Node hierarchy which was/is causing a leak when we stop calling dispose from the Document's detach method. 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= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174953

Patch Set 1 #

Patch Set 2 : fix non-oilpan build #

Total comments: 10

Patch Set 3 : Review feedback #

Patch Set 4 : Review feedback #

Patch Set 5 : fix windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -79 lines) Patch
M Source/core/html/parser/HTMLConstructionSite.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/parser/HTMLConstructionSite.cpp View 3 chunks +5 lines, -2 lines 0 comments Download
M Source/core/html/parser/HTMLElementStack.h View 1 2 3 3 chunks +29 lines, -22 lines 0 comments Download
M Source/core/html/parser/HTMLElementStack.cpp View 1 2 3 4 12 chunks +39 lines, -21 lines 0 comments Download
M Source/core/html/parser/HTMLFormattingElementList.h View 7 chunks +17 lines, -9 lines 0 comments Download
M Source/core/html/parser/HTMLFormattingElementList.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M Source/core/html/parser/HTMLStackItem.h View 5 chunks +10 lines, -8 lines 0 comments Download
M Source/core/html/parser/HTMLTreeBuilder.h View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M Source/core/html/parser/HTMLTreeBuilder.cpp View 1 2 3 9 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
wibling-chromium
6 years, 7 months ago (2014-05-27 10:02:24 UTC) #1
Mads Ager (chromium)
LGTM https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h File Source/core/html/parser/HTMLElementStack.h (right): https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h#newcode53 Source/core/html/parser/HTMLElementStack.h:53: class ElementRecord : public NoBaseWillBeGarbageCollected<ElementRecord> { add FINAL ...
6 years, 7 months ago (2014-05-27 10:32:03 UTC) #2
wibling-chromium
Thanks for the review! https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h File Source/core/html/parser/HTMLElementStack.h (right): https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h#newcode53 Source/core/html/parser/HTMLElementStack.h:53: class ElementRecord : public NoBaseWillBeGarbageCollected<ElementRecord> ...
6 years, 7 months ago (2014-05-27 10:45:45 UTC) #3
haraken
LGTM. https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h File Source/core/html/parser/HTMLElementStack.h (right): https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h#newcode58 Source/core/html/parser/HTMLElementStack.h:58: #endif You can use DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h#newcode188 Source/core/html/parser/HTMLElementStack.h:188: Element* ...
6 years, 7 months ago (2014-05-27 10:48:22 UTC) #4
wibling-chromium
https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h File Source/core/html/parser/HTMLElementStack.h (right): https://codereview.chromium.org/298043008/diff/20001/Source/core/html/parser/HTMLElementStack.h#newcode58 Source/core/html/parser/HTMLElementStack.h:58: #endif On 2014/05/27 10:48:22, haraken wrote: > > You ...
6 years, 7 months ago (2014-05-27 11:16:36 UTC) #5
zerny-chromium
lgtm
6 years, 7 months ago (2014-05-27 11:23:07 UTC) #6
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 7 months ago (2014-05-27 11:26:59 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/298043008/2
6 years, 7 months ago (2014-05-27 11:27:04 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 12:40:14 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 13:14:23 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/12454)
6 years, 7 months ago (2014-05-27 13:14:23 UTC) #11
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 6 months ago (2014-05-28 08:40:44 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/298043008/50001
6 years, 6 months ago (2014-05-28 08:41:02 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 09:57:52 UTC) #14
Message was sent while issue was closed.
Change committed as 174953

Powered by Google App Engine
This is Rietveld 408576698