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

Issue 2772233002: EXPERIMENT Make toPositionInFlatTree() to return null for DOM position not in flat tree (Closed)

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

Description

patch from issue 2729313002 at patchset 40001 (http://crrev.com/2729313002#ps40001) Experiment to proceed patch[1] [1] http://crrev.com/2729313002 BLOCKED 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

Patch Set 1 : 2017-03-27T18:24:23 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -47 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 5 chunks +20 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/core/editing/Position.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionEditor.cpp View 1 chunk +16 lines, -9 lines 3 comments Download

Messages

Total messages: 11 (6 generated)
Xiaocheng
https://codereview.chromium.org/2772233002/diff/1/third_party/WebKit/Source/core/editing/SelectionEditor.cpp File third_party/WebKit/Source/core/editing/SelectionEditor.cpp (right): https://codereview.chromium.org/2772233002/diff/1/third_party/WebKit/Source/core/editing/SelectionEditor.cpp#newcode395 third_party/WebKit/Source/core/editing/SelectionEditor.cpp:395: m_cachedVisibleSelectionInFlatTree = createVisibleSelection(builder.build()); Is it fine if the cached ...
3 years, 8 months ago (2017-03-27 18:17:46 UTC) #7
yosin_UTC9
https://codereview.chromium.org/2772233002/diff/1/third_party/WebKit/Source/core/editing/SelectionEditor.cpp File third_party/WebKit/Source/core/editing/SelectionEditor.cpp (right): https://codereview.chromium.org/2772233002/diff/1/third_party/WebKit/Source/core/editing/SelectionEditor.cpp#newcode395 third_party/WebKit/Source/core/editing/SelectionEditor.cpp:395: m_cachedVisibleSelectionInFlatTree = createVisibleSelection(builder.build()); On 2017/03/27 at 18:17:45, Xiaocheng wrote: ...
3 years, 8 months ago (2017-03-29 03:20:21 UTC) #8
Xiaocheng
https://codereview.chromium.org/2772233002/diff/1/third_party/WebKit/Source/core/editing/SelectionEditor.cpp File third_party/WebKit/Source/core/editing/SelectionEditor.cpp (right): https://codereview.chromium.org/2772233002/diff/1/third_party/WebKit/Source/core/editing/SelectionEditor.cpp#newcode395 third_party/WebKit/Source/core/editing/SelectionEditor.cpp:395: m_cachedVisibleSelectionInFlatTree = createVisibleSelection(builder.build()); On 2017/03/29 at 03:20:21, yosin_UTC9 wrote: ...
3 years, 8 months ago (2017-03-29 23:56:41 UTC) #9
Xiaocheng
Let's land the fix in this patch. It also fixes http://crbug.com/712984
3 years, 7 months ago (2017-04-27 03:04:26 UTC) #10
Xiaocheng
3 years, 7 months ago (2017-04-27 16:59:55 UTC) #11
Could you close this CL, since crrev.com/2850443002 is landed?

Thanks!

Powered by Google App Engine
This is Rietveld 408576698