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

Issue 2729313002: Prune layout update calls from Editor::*appliedEditing (Closed)

Created:
3 years, 9 months ago by Xiaocheng
Modified:
3 years, 7 months ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Prune layout update calls from Editor::*appliedEditing Editor used to update layout after applying commands for setting frame selection. Now that setting frame selection no longer requires clean layout, this patch removes these layout update calls. BUG=590369 TEST=n/a; no behavior change Review-Url: https://codereview.chromium.org/2729313002 Cr-Commit-Position: refs/heads/master@{#467890} Committed: https://chromium.googlesource.com/chromium/src/+/63b1a036006ef1feadebfdcfd67159972deabdfa

Patch Set 1 #

Patch Set 2 : Fri Mar 3 18:25:59 PST 2017 #

Patch Set 3 : Prune layout update after applying commands #

Total comments: 4

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -38 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 2 3 5 chunks +21 lines, -38 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 53 (36 generated)
Xiaocheng
PTAL. dmazzoni@: This patch passes a difference Position to Editor::respondToChangedContent(), which is then passed to ...
3 years, 9 months ago (2017-03-20 22:22:33 UTC) #21
Xiaocheng
+tkent, yoichio
3 years, 9 months ago (2017-03-21 03:49:42 UTC) #24
yoichio
https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode887 third_party/WebKit/Source/core/editing/Editor.cpp:887: const VisibleSelection& passedSelection, Could you use SelectionINDOMTree& passedSelection instead ...
3 years, 9 months ago (2017-03-21 06:41:57 UTC) #25
dmazzoni
On 2017/03/20 22:22:33, Xiaocheng wrote: > PTAL. > > dmazzoni@: This patch passes a difference ...
3 years, 9 months ago (2017-03-21 16:09:38 UTC) #26
Xiaocheng
Thanks for the reviews! https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode887 third_party/WebKit/Source/core/editing/Editor.cpp:887: const VisibleSelection& passedSelection, On 2017/03/21 ...
3 years, 9 months ago (2017-03-21 20:53:40 UTC) #27
yoichio
https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode887 third_party/WebKit/Source/core/editing/Editor.cpp:887: const VisibleSelection& passedSelection, Yes, no benefit from a view ...
3 years, 9 months ago (2017-03-22 01:48:57 UTC) #28
Xiaocheng
https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp File third_party/WebKit/Source/core/editing/Editor.cpp (right): https://codereview.chromium.org/2729313002/diff/40001/third_party/WebKit/Source/core/editing/Editor.cpp#newcode887 third_party/WebKit/Source/core/editing/Editor.cpp:887: const VisibleSelection& passedSelection, On 2017/03/22 at 01:48:57, yoichio wrote: ...
3 years, 9 months ago (2017-03-22 02:12:44 UTC) #29
Xiaocheng
Blocked by crbug.com/702756, which I don't have a good idea to fix right now...
3 years, 9 months ago (2017-03-22 22:36:40 UTC) #31
yosin_UTC9
On 2017/03/22 at 22:36:40, xiaochengh wrote: > Blocked by crbug.com/702756, which I don't have a ...
3 years, 9 months ago (2017-03-23 06:00:50 UTC) #32
Xiaocheng
On 2017/03/23 at 06:00:50, yosin wrote: > On 2017/03/22 at 22:36:40, xiaochengh wrote: > > ...
3 years, 9 months ago (2017-03-23 19:37:27 UTC) #33
yosin_UTC9
On 2017/03/23 at 19:37:27, xiaochengh wrote: > On 2017/03/23 at 06:00:50, yosin wrote: > > ...
3 years, 9 months ago (2017-03-25 09:00:59 UTC) #34
yosin_UTC9
PS#3 failed with editing/undo/redo_correct_selection.html with crash in PositionInFlatTree::ctor(null, 1) PositionInFlatTree::afterAnchor(SELECT).toOffsetInAnchor() ... SelectionEditor::updateCachedVisibleSelectionIfNeeded() with following DOM ...
3 years, 9 months ago (2017-03-27 07:43:36 UTC) #37
yosin_UTC9
On 2017/03/27 at 07:43:36, yosin_UTC9 wrote: > PS#3 failed with editing/undo/redo_correct_selection.html with crash in > ...
3 years, 9 months ago (2017-03-27 09:29:42 UTC) #40
Xiaocheng
Now that the blocking issue is gone, PTAL.
3 years, 7 months ago (2017-04-27 16:06:45 UTC) #44
yosin_UTC9
lgtm
3 years, 7 months ago (2017-04-28 04:14:23 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2729313002/60001
3 years, 7 months ago (2017-04-28 04:14:54 UTC) #50
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 05:16:30 UTC) #53
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/63b1a036006ef1feadebfdcfd671...

Powered by Google App Engine
This is Rietveld 408576698