Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(1)

Issue 1072273006: Oilpan: Prepare moving AXObject to heap (Closed)

Created:
5 years ago by keishi
Modified:
4 years, 10 months ago
CC:
blink-reviews, je_julie(Not used), aboxhall, sof, eae+blinkwatch, dglazkov+blink, blink-reviews-dom_chromium.org, nektarios, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: Prepare moving AXObject to heap BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197881

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 41

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 22

Patch Set 12 : fixed #

Patch Set 13 : fixed #

Patch Set 14 : used weakmember #

Patch Set 15 : #

Total comments: 11

Patch Set 16 : #

Total comments: 25

Patch Set 17 : #

Total comments: 11

Patch Set 18 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+289 lines, -228 lines) Patch
M Source/core/dom/AXObjectCache.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/Element.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +0 lines, -10 lines 0 comments Download
M Source/core/dom/TreeScopeAdopter.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +0 lines, -4 lines 0 comments Download
M Source/core/layout/line/AbstractInlineTextBox.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/layout/line/AbstractInlineTextBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +12 lines, -0 lines 0 comments Download
M Source/modules/accessibility/AXARIAGrid.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXARIAGrid.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXARIAGridCell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXARIAGridCell.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXARIAGridRow.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXARIAGridRow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXImageMapLink.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -3 lines 0 comments Download
M Source/modules/accessibility/AXImageMapLink.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +18 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXInlineTextBox.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -2 lines 0 comments Download
M Source/modules/accessibility/AXInlineTextBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -10 lines 0 comments Download
M Source/modules/accessibility/AXLayoutObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXLayoutObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/accessibility/AXList.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXList.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXListBox.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXListBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXListBoxOption.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXListBoxOption.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXMediaControls.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXMediaControls.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +8 lines, -8 lines 0 comments Download
M Source/modules/accessibility/AXMenuList.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXMenuList.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXMenuListOption.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -3 lines 0 comments Download
M Source/modules/accessibility/AXMenuListOption.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +15 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXMenuListPopup.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXMenuListPopup.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXNodeObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +13 lines, -8 lines 0 comments Download
M Source/modules/accessibility/AXObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +18 lines, -12 lines 0 comments Download
M Source/modules/accessibility/AXObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +12 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXObjectCacheImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +13 lines, -12 lines 0 comments Download
M Source/modules/accessibility/AXObjectCacheImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 15 chunks +23 lines, -38 lines 0 comments Download
M Source/modules/accessibility/AXProgressIndicator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXProgressIndicator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXSVGRoot.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXSVGRoot.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXScrollView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -14 lines 0 comments Download
M Source/modules/accessibility/AXScrollView.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +12 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXScrollbar.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXScrollbar.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +13 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXSlider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXSlider.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/accessibility/AXSpinButton.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/accessibility/AXSpinButton.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +14 lines, -7 lines 0 comments Download
M Source/modules/accessibility/AXTable.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +3 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXTable.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +10 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXTableCell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXTableCell.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXTableColumn.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXTableColumn.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXTableHeaderContainer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXTableHeaderContainer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/accessibility/AXTableRow.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/accessibility/AXTableRow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WebAXObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +6 lines, -6 lines 0 comments Download
M public/web/WebAXObject.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (5 generated)
keishi
Depends on https://codereview.chromium.org/1081673003/
5 years ago (2015-04-28 06:20:37 UTC) #1
keishi
5 years ago (2015-04-28 06:20:55 UTC) #3
dmazzoni
Maybe you've already got this figured out and I don't fully understand the new logic, ...
5 years ago (2015-04-28 06:53:25 UTC) #5
haraken
On 2015/04/28 06:53:25, dmazzoni wrote: > Maybe you've already got this figured out and I ...
5 years ago (2015-04-28 06:54:28 UTC) #6
keishi
https://codereview.chromium.org/1072273006/diff/60001/Source/core/dom/AXObjectCache.h File Source/core/dom/AXObjectCache.h (right): https://codereview.chromium.org/1072273006/diff/60001/Source/core/dom/AXObjectCache.h#newcode161 Source/core/dom/AXObjectCache.h:161: OwnPtr<AXObjectCache> m_ownedCache; On 2015/04/28 06:53:25, dmazzoni wrote: > any ...
4 years, 11 months ago (2015-05-28 06:49:19 UTC) #7
haraken
Thanks for working on the complicated hierarchy! This is complicated. https://codereview.chromium.org/1072273006/diff/120001/Source/modules/accessibility/AXImageMapLink.cpp File Source/modules/accessibility/AXImageMapLink.cpp (right): https://codereview.chromium.org/1072273006/diff/120001/Source/modules/accessibility/AXImageMapLink.cpp#newcode146 ...
4 years, 11 months ago (2015-05-28 10:48:42 UTC) #8
dmazzoni
> > https://codereview.chromium.org/1072273006/diff/60001/Source/modules/accessibility/AXObjectCacheImpl.h#newcode198 > Source/modules/accessibility/AXObjectCacheImpl.h:198: > HeapHashMap<WeakMember<Node>, Member<AXObject>> m_nodeObjectMapping; > On 2015/04/28 06:53:25, dmazzoni wrote: ...
4 years, 11 months ago (2015-05-28 14:57:52 UTC) #9
dmazzoni
Just curious, is this still in progress? Are you waiting on anything from me?
4 years, 11 months ago (2015-06-03 20:55:48 UTC) #10
keishi
On 2015/06/03 20:55:48, dmazzoni wrote: > Just curious, is this still in progress? Are you ...
4 years, 11 months ago (2015-06-03 22:57:47 UTC) #11
keishi
My intent was to simplify the reference structure by reducing reliance on AXID, and use ...
4 years, 10 months ago (2015-06-08 06:27:21 UTC) #12
dmazzoni
https://codereview.chromium.org/1072273006/diff/200001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1072273006/diff/200001/Source/core/dom/Document.cpp#newcode2134 Source/core/dom/Document.cpp:2134: cache->remove(&element); What would happen if we called AXObjectCache::getOrCreate and ...
4 years, 10 months ago (2015-06-08 15:25:50 UTC) #13
haraken
Thanks for working on this! It's getting a better shape. I have a couple of ...
4 years, 10 months ago (2015-06-09 02:25:46 UTC) #14
keishi
https://codereview.chromium.org/1072273006/diff/200001/Source/modules/accessibility/AXObject.cpp File Source/modules/accessibility/AXObject.cpp (right): https://codereview.chromium.org/1072273006/diff/200001/Source/modules/accessibility/AXObject.cpp#newcode1485 Source/modules/accessibility/AXObject.cpp:1485: visitor->trace(m_axObjectCache); On 2015/06/09 02:25:45, haraken wrote: > On 2015/06/08 ...
4 years, 10 months ago (2015-06-09 05:51:20 UTC) #15
haraken
Discussed offline. - We decided to use a WeakMember to from an AXObject to its ...
4 years, 10 months ago (2015-06-09 09:12:13 UTC) #16
dmazzoni
https://codereview.chromium.org/1072273006/diff/200001/Source/modules/accessibility/AXObject.cpp File Source/modules/accessibility/AXObject.cpp (right): https://codereview.chromium.org/1072273006/diff/200001/Source/modules/accessibility/AXObject.cpp#newcode1485 Source/modules/accessibility/AXObject.cpp:1485: visitor->trace(m_axObjectCache); On 2015/06/09 05:51:19, keishi wrote: > On 2015/06/09 ...
4 years, 10 months ago (2015-06-09 18:07:28 UTC) #17
haraken
https://codereview.chromium.org/1072273006/diff/200001/Source/modules/accessibility/AXObject.cpp File Source/modules/accessibility/AXObject.cpp (right): https://codereview.chromium.org/1072273006/diff/200001/Source/modules/accessibility/AXObject.cpp#newcode1485 Source/modules/accessibility/AXObject.cpp:1485: visitor->trace(m_axObjectCache); On 2015/06/09 18:07:28, dmazzoni wrote: > On 2015/06/09 ...
4 years, 10 months ago (2015-06-10 00:55:57 UTC) #18
keishi
Separated out the AccessibilityText part and m_detached part accessibility part: https://codereview.chromium.org/1169023003/ m_detached part: https://codereview.chromium.org/1175533004/ The ...
4 years, 10 months ago (2015-06-11 05:33:52 UTC) #19
keishi
On 2015/06/11 05:33:52, keishi wrote: > Separated out the AccessibilityText part and m_detached part > ...
4 years, 10 months ago (2015-06-11 06:34:04 UTC) #20
keishi
I've changed all the members to counterpart objects to WeakMembers so that we won't leak ...
4 years, 10 months ago (2015-06-23 02:21:36 UTC) #21
haraken
I apologize for the back & forth, but I changed my mind -- let's use ...
4 years, 10 months ago (2015-06-23 06:33:30 UTC) #22
haraken
https://codereview.chromium.org/1072273006/diff/280001/Source/core/dom/Element.h File Source/core/dom/Element.h (right): https://codereview.chromium.org/1072273006/diff/280001/Source/core/dom/Element.h#newcode810 Source/core/dom/Element.h:810: cache->remove(this); On 2015/06/23 06:33:29, haraken wrote: > > Can ...
4 years, 10 months ago (2015-06-23 06:47:22 UTC) #23
keishi
https://codereview.chromium.org/1072273006/diff/280001/Source/core/dom/Element.h File Source/core/dom/Element.h (right): https://codereview.chromium.org/1072273006/diff/280001/Source/core/dom/Element.h#newcode810 Source/core/dom/Element.h:810: cache->remove(this); On 2015/06/23 06:47:22, haraken wrote: > On 2015/06/23 ...
4 years, 10 months ago (2015-06-24 05:08:22 UTC) #24
haraken
https://codereview.chromium.org/1072273006/diff/300001/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/1072273006/diff/300001/Source/core/dom/Document.cpp#newcode2190 Source/core/dom/Document.cpp:2190: } else if (AXObjectCache* cache = existingAXObjectCache()) { This ...
4 years, 10 months ago (2015-06-24 13:27:20 UTC) #25
keishi
https://codereview.chromium.org/1072273006/diff/300001/Source/modules/accessibility/AXImageMapLink.cpp File Source/modules/accessibility/AXImageMapLink.cpp (right): https://codereview.chromium.org/1072273006/diff/300001/Source/modules/accessibility/AXImageMapLink.cpp#newcode47 Source/modules/accessibility/AXImageMapLink.cpp:47: { On 2015/06/24 13:27:20, haraken wrote: > > Can ...
4 years, 10 months ago (2015-06-24 15:05:27 UTC) #26
haraken
LGTM finally! +tkent-san for public/. https://codereview.chromium.org/1072273006/diff/320001/Source/core/layout/line/AbstractInlineTextBox.cpp File Source/core/layout/line/AbstractInlineTextBox.cpp (right): https://codereview.chromium.org/1072273006/diff/320001/Source/core/layout/line/AbstractInlineTextBox.cpp#newcode71 Source/core/layout/line/AbstractInlineTextBox.cpp:71: void AbstractInlineTextBox::detach() Add an ...
4 years, 10 months ago (2015-06-24 23:37:35 UTC) #28
tkent
lgtm. Can't we move AX objects on heap by default now? https://codereview.chromium.org/1072273006/diff/320001/Source/core/dom/AXObjectCache.h File Source/core/dom/AXObjectCache.h (right): ...
4 years, 10 months ago (2015-06-25 00:20:48 UTC) #29
haraken
> Can't we move AX objects on heap by default now? That is a great ...
4 years, 10 months ago (2015-06-25 00:23:21 UTC) #30
keishi
https://codereview.chromium.org/1072273006/diff/320001/Source/core/dom/AXObjectCache.h File Source/core/dom/AXObjectCache.h (right): https://codereview.chromium.org/1072273006/diff/320001/Source/core/dom/AXObjectCache.h#newcode35 Source/core/dom/AXObjectCache.h:35: class AbstractInlineTextBox; On 2015/06/25 00:20:47, tkent wrote: > nit: ...
4 years, 10 months ago (2015-06-25 03:29:28 UTC) #31
keishi
dmazzoni@ PTAL Thanks.
4 years, 10 months ago (2015-06-25 14:09:33 UTC) #32
dmazzoni
lgtm
4 years, 10 months ago (2015-06-25 23:13:36 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1072273006/340001
4 years, 10 months ago (2015-06-26 01:00:43 UTC) #36
commit-bot: I haz the power
4 years, 10 months ago (2015-06-26 03:21:30 UTC) #37
Message was sent while issue was closed.
Committed patchset #18 (id:340001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197881

Powered by Google App Engine
This is Rietveld 408576698