commit | c097b54812b5b7f9438fa84ce21832fe4abd9d25 | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Fri Apr 09 04:50:43 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 09 04:50:43 2021 |
tree | b205b7dc189398c25e50d1bbba5879c8dde7869c | |
parent | 53aa5d9861da6c47b81827ee939de74b1495c8e8 [diff] |
[editing] Abort command when attempting to insert node after body CompositeEditCommand::InsertNodeAfter had an assert that the reference node wouldn't be the body. However, it could happen in some cases. So this patch does the same that r552620 did for InsertNodeBefore: instead of an assert, abort if the reference node is the body. Bug: 1188327 TEST=InsertListCommandTest.NestedSpansJustInsideBody Change-Id: I363c25976c228f97c1785e6d9bd996a4bae11489 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2814843 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#870850}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.