Fix crash when node is moved in a selection
Let RenderObject::canUpdateSelectionOnRootLineBoxes() return false if the renderer is in an orphaned render tree, to prevent RenderSelectionInfo from calling selectionRectForPaintInvalidation() which would cause the crash. BUG=396596 TEST=editing/selection/move-node-in-selection-crash.html Review URL: https://codereview.chromium.org/452293004 git-svn-id: svn://svn.chromium.org/blink/trunk@180102 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment