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

Issue 224113002: Oilpan: move Range object to the oilpan heap. (Closed)

Created:
6 years, 8 months ago by sof
Modified:
6 years, 8 months ago
CC:
blink-reviews, rune+blink, arv+blink, jamesr, aboxhall, zoltan1, dsinclair, eae+blinkwatch, leviw+renderwatch, abarth-chromium, dglazkov+blink, dmazzoni, adamk+blink_chromium.org, jchaffraix+rendering, groby+blinkspell_chromium.org, bemjb+rendering_chromium.org, pdr., rwlbuis, watchdog-blink-watchlist_google.com, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : compile fix #

Patch Set 3 : heap/Handle.h => platform/heap/Handle.h #

Total comments: 14

Patch Set 4 : Use STACK_ALLOCATED() + incorporate ager's overview of macros in this area. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -323 lines) Patch
M Source/core/accessibility/AXRenderObject.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/DocumentMarkerController.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/dom/DocumentMarkerControllerTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Range.h View 1 2 5 chunks +9 lines, -6 lines 0 comments Download
M Source/core/dom/Range.cpp View 5 chunks +13 lines, -9 lines 0 comments Download
M Source/core/dom/Range.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/RangeTest.cpp View 1 2 3 chunks +11 lines, -10 lines 0 comments Download
M Source/core/editing/ApplyStyleCommand.cpp View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M Source/core/editing/CompositeEditCommand.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M Source/core/editing/DeleteSelectionCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/EditingStyle.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/Editor.h View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M Source/core/editing/Editor.cpp View 1 2 3 10 chunks +11 lines, -12 lines 1 comment Download
M Source/core/editing/EditorCommand.cpp View 1 2 3 4 chunks +5 lines, -6 lines 1 comment Download
M Source/core/editing/FormatBlockCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/FrameSelection.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/InputMethodController.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/InputMethodController.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/editing/InsertListCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/PlainTextRange.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M Source/core/editing/PlainTextRange.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M Source/core/editing/ReplaceSelectionCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/SpellCheckRequester.h View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/editing/SpellCheckRequester.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/editing/SpellChecker.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/editing/SpellChecker.cpp View 19 chunks +23 lines, -23 lines 0 comments Download
M Source/core/editing/SurroundingText.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/editing/SurroundingText.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/editing/TextCheckingHelper.h View 1 2 3 4 chunks +16 lines, -13 lines 0 comments Download
M Source/core/editing/TextCheckingHelper.cpp View 1 2 3 15 chunks +18 lines, -18 lines 0 comments Download
M Source/core/editing/TextIterator.h View 1 2 3 8 chunks +10 lines, -8 lines 0 comments Download
M Source/core/editing/TextIterator.cpp View 1 2 3 11 chunks +17 lines, -17 lines 0 comments Download
M Source/core/editing/TextIteratorTest.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/editing/VisiblePosition.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/editing/VisiblePosition.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/VisibleSelection.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/VisibleSelection.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/editing/VisibleUnits.cpp View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
M Source/core/editing/htmlediting.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/htmlediting.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/editing/markup.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/LocalFrame.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/html/HTMLTextFormControlElement.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLTextFormControlElement.cpp View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M Source/core/page/DOMSelection.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/DOMSelection.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/page/DragController.cpp View 5 chunks +5 lines, -5 lines 0 comments Download
M Source/core/page/DragData.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/page/DragData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/EventHandler.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/AbstractInlineTextBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/Internals.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/testing/Internals.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/heap/Heap.h View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M Source/web/ContextMenuClientImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/TextFinder.h View 1 2 6 chunks +21 lines, -10 lines 0 comments Download
M Source/web/TextFinder.cpp View 5 chunks +10 lines, -5 lines 0 comments Download
M Source/web/WebFrameImpl.cpp View 1 2 8 chunks +9 lines, -8 lines 0 comments Download
M Source/web/WebRange.cpp View 1 2 2 chunks +6 lines, -26 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M Source/web/mac/WebSubstringUtil.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M public/web/WebRange.h View 4 chunks +9 lines, -14 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
sof
Please take a look. Some points worth mentioning: - Ran into some SpellChecker code that ...
6 years, 8 months ago (2014-04-03 20:28:48 UTC) #1
tkent
https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (left): https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp#oldcode787 Source/core/editing/Editor.cpp:787: RefPtr<Range> range = selection.toNormalizedRange(); I wonder if we can ...
6 years, 8 months ago (2014-04-04 01:56:55 UTC) #2
tkent
+yutak FYI
6 years, 8 months ago (2014-04-04 01:58:43 UTC) #3
haraken
LGTM if tkent-san's comments are addressed. https://codereview.chromium.org/224113002/diff/40001/Source/core/dom/Range.h File Source/core/dom/Range.h (right): https://codereview.chromium.org/224113002/diff/40001/Source/core/dom/Range.h#newcode174 Source/core/dom/Range.h:174: RefPtr<Document> m_ownerDocument; // ...
6 years, 8 months ago (2014-04-04 02:30:18 UTC) #4
Yuta Kitamura
LGTM but please wait for Kent's OK before landing. https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (left): https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp#oldcode787 Source/core/editing/Editor.cpp:787: ...
6 years, 8 months ago (2014-04-04 02:37:24 UTC) #5
sof
https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (left): https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp#oldcode787 Source/core/editing/Editor.cpp:787: RefPtr<Range> range = selection.toNormalizedRange(); On 2014/04/04 02:37:25, Yuta Kitamura ...
6 years, 8 months ago (2014-04-04 05:32:02 UTC) #6
Mads Ager (chromium)
Drive-by comments inline. On 2014/04/03 20:28:48, sof wrote: > Please take a look. > > ...
6 years, 8 months ago (2014-04-04 06:15:06 UTC) #7
haraken
> STACK_ALLOCATED: The object is only stack allocated. Heap objects should be in > Members ...
6 years, 8 months ago (2014-04-04 06:23:20 UTC) #8
Mads Ager (chromium)
On Fri, Apr 4, 2014 at 8:23 AM, <haraken@chromium.org> wrote: > STACK_ALLOCATED: The object is ...
6 years, 8 months ago (2014-04-04 06:24:55 UTC) #9
Yuta Kitamura
On 2014/04/04 06:15:06, Mads Ager (chromium) wrote: > STACK_ALLOCATED: The object is only stack allocated. ...
6 years, 8 months ago (2014-04-04 06:29:02 UTC) #10
tkent
On 2014/04/04 06:29:02, Yuta Kitamura wrote: > Could you kindly document this kind of information ...
6 years, 8 months ago (2014-04-04 06:34:01 UTC) #11
sof
On 2014/04/04 06:34:01, tkent wrote: > On 2014/04/04 06:29:02, Yuta Kitamura wrote: > > Could ...
6 years, 8 months ago (2014-04-04 06:35:40 UTC) #12
haraken
On 2014/04/04 06:35:40, sof wrote: > On 2014/04/04 06:34:01, tkent wrote: > > On 2014/04/04 ...
6 years, 8 months ago (2014-04-04 06:41:20 UTC) #13
sof
https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp File Source/core/editing/Editor.cpp (left): https://codereview.chromium.org/224113002/diff/40001/Source/core/editing/Editor.cpp#oldcode787 Source/core/editing/Editor.cpp:787: RefPtr<Range> range = selection.toNormalizedRange(); On 2014/04/04 05:32:02, sof wrote: ...
6 years, 8 months ago (2014-04-04 07:33:22 UTC) #14
sof
On 2014/04/04 06:41:20, haraken wrote: > On 2014/04/04 06:35:40, sof wrote: > > On 2014/04/04 ...
6 years, 8 months ago (2014-04-04 07:34:44 UTC) #15
tkent
lgtm
6 years, 8 months ago (2014-04-04 07:44:44 UTC) #16
sof
On 2014/04/04 06:15:06, Mads Ager (chromium) wrote: > Drive-by comments inline. > > On 2014/04/03 ...
6 years, 8 months ago (2014-04-04 07:47:57 UTC) #17
Mads Ager (chromium)
LGTM Maybe consider the removal of the two RefPtrs to a separate change to make ...
6 years, 8 months ago (2014-04-04 07:48:37 UTC) #18
Mads Ager (chromium)
On 2014/04/04 07:47:57, sof wrote: > On 2014/04/04 06:15:06, Mads Ager (chromium) wrote: > > ...
6 years, 8 months ago (2014-04-04 07:49:46 UTC) #19
haraken
LGTM with mad's comment about a protected RefPtr.
6 years, 8 months ago (2014-04-04 07:56:09 UTC) #20
Yuta Kitamura
On 2014/04/04 07:48:37, Mads Ager (chromium) wrote: > Maybe consider the removal of the two ...
6 years, 8 months ago (2014-04-04 08:12:29 UTC) #21
sof
On 2014/04/04 08:12:29, Yuta Kitamura wrote: > On 2014/04/04 07:48:37, Mads Ager (chromium) wrote: > ...
6 years, 8 months ago (2014-04-04 08:19:20 UTC) #22
Mads Ager (chromium)
Sounds good. Thanks for the context! :)
6 years, 8 months ago (2014-04-04 08:22:44 UTC) #23
sof
Thanks everyone for the reviews & help!
6 years, 8 months ago (2014-04-04 08:23:22 UTC) #24
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 8 months ago (2014-04-04 08:24:04 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/224113002/60001
6 years, 8 months ago (2014-04-04 08:24:10 UTC) #26
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 08:38:37 UTC) #27
Message was sent while issue was closed.
Change committed as 170845

Powered by Google App Engine
This is Rietveld 408576698