DescriptionEditing: Minor improvement of ReplaceSelectionCommand
- Tighten up he second argument of moveElementOutOfAncestor();
ContainerNode -> Element
- Add inDocument() check in makeInsertedContentRoundTrippableWithHTMLTreeBuild().
crrev.com/371774 fixed one such case. However we still might have such cases.
Add inDocument() check just in case in order to avoid future crashes.
BUG=537815
Committed: https://crrev.com/8f28f81f237b61372089dffc331991d465a823d7
Cr-Commit-Position: refs/heads/master@{#372018}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|