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

Issue 349143002: Don't try to move non visible contents in "Indent" command (Closed)

Created:
6 years, 6 months ago by yosin_UTC9
Modified:
6 years, 6 months ago
Reviewers:
yoichio, Yuta Kitamura
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Don't try to move non visible contents in "Indent" command This patch makes "Indent" command not to try move non visible contents into block quote. The root cause of issue 343958 is "Indent" command calls |moveParagraphWithClones()| with null |VisiblePosition| for start and end of contents to move. This patch checks them before calling |moveParagraphWithClones()|. BUG=343958 TEST=LayoutTests/editing/execCommand/indent-no-visible-contents-crash.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176735

Patch Set 1 : 2014-06-23T11:24:24 #

Total comments: 2

Patch Set 2 : 2014-06-23T03:50:27 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
A LayoutTests/editing/execCommand/indent-no-visible-contents-crash.html View 1 chunk +13 lines, -0 lines 0 comments Download
A + LayoutTests/editing/execCommand/indent-no-visible-contents-crash-expected.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/editing/IndentOutdentCommand.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
yosin_UTC9
Could you review this patch? Thanks in advance.
6 years, 6 months ago (2014-06-23 03:40:05 UTC) #1
Yuta Kitamura
LGTM with nit https://codereview.chromium.org/349143002/diff/20001/Source/core/editing/IndentOutdentCommand.cpp File Source/core/editing/IndentOutdentCommand.cpp (right): https://codereview.chromium.org/349143002/diff/20001/Source/core/editing/IndentOutdentCommand.cpp#newcode124 Source/core/editing/IndentOutdentCommand.cpp:124: VisiblePosition endOfContents = VisiblePosition(end); nit: You ...
6 years, 6 months ago (2014-06-23 06:34:06 UTC) #2
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/349143002/diff/20001/Source/core/editing/IndentOutdentCommand.cpp File Source/core/editing/IndentOutdentCommand.cpp (right): https://codereview.chromium.org/349143002/diff/20001/Source/core/editing/IndentOutdentCommand.cpp#newcode124 Source/core/editing/IndentOutdentCommand.cpp:124: VisiblePosition endOfContents = VisiblePosition(end); On ...
6 years, 6 months ago (2014-06-23 06:52:19 UTC) #3
yosin_UTC9
The CQ bit was checked by yosin@chromium.org
6 years, 6 months ago (2014-06-23 08:03:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yosin@chromium.org/349143002/40001
6 years, 6 months ago (2014-06-23 08:04:28 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-23 09:06:46 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-23 09:46:01 UTC) #7
Message was sent while issue was closed.
Change committed as 176735

Powered by Google App Engine
This is Rietveld 408576698