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

Issue 1695153002: Editing: Make the |EditingState*| argument of CompositeEditCommand::removeNode mandatory. (Closed)

Created:
4 years, 10 months ago by tkent
Modified:
4 years, 10 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, blink-reviews-style_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Editing: Make the |EditingState*| argument of CompositeEditCommand::removeNode mandatory. This CL doesn't introduce new ASSERT_NO_EDITING_ABORTs except cases where node removal won't dispatch synchronous events. This CL has no tests. We're not sure if this CL makes user-visible behavior changes. The purpose of this CL is to reduce ClusterFuzz crashes in the future. BUG=586846 Committed: https://crrev.com/4ee37b1afc847d9504c046f20602709a98e921dc Cr-Commit-Position: refs/heads/master@{#375417}

Patch Set 1 #

Total comments: 1

Patch Set 2 : ; #

Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -192 lines) Patch
M third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.h View 3 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp View 15 chunks +66 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp View 3 chunks +22 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h View 3 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp View 1 19 chunks +65 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.h View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp View 17 chunks +57 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp View 3 chunks +25 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertListCommand.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp View 6 chunks +41 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp View 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp View 4 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.h View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp View 16 chunks +64 lines, -28 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 4 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
tkent
yosin@, would you review this please?
4 years, 10 months ago (2016-02-15 05:25:16 UTC) #2
yosin_UTC9
lgtm Thanks for changes! Mixed-editaiblity exists since beginning and it is fundamental implementation issue of ...
4 years, 10 months ago (2016-02-15 05:35:45 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1695153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1695153002/1
4 years, 10 months ago (2016-02-15 05:35:59 UTC) #5
tkent
Some tests are crashing with assertion failures. Investigating.
4 years, 10 months ago (2016-02-15 06:04:26 UTC) #7
tkent
https://codereview.chromium.org/1695153002/diff/1/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp File third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp (right): https://codereview.chromium.org/1695153002/diff/1/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp#newcode495 third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp:495: return Wow, the missing ';' caused surprising results!!
4 years, 10 months ago (2016-02-15 06:22:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1695153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1695153002/20001
4 years, 10 months ago (2016-02-15 06:24:01 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-15 07:36:47 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:48:58 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4ee37b1afc847d9504c046f20602709a98e921dc
Cr-Commit-Position: refs/heads/master@{#375417}

Powered by Google App Engine
This is Rietveld 408576698