New issue
Advanced search Search tips

Issue 679680 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 679991
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocked on:
issue 679616



Sign in to add a comment

mostForwardCaretPosition and mostBackwardCaretPosition should be called with clean layout

Project Member Reported by xiaoche...@chromium.org, Jan 10 2017

Issue description

These two functions depend on clean layout tree, and should DCHECK that.

Currently some code paths do not call them with clean layout, which should be fixed.
 
Experiment: https://codereview.chromium.org/2623103003

Most DCHECK hits are via FrameSelection::updateSelectionIfNeeded. Unfortunately, we can't update layout there because the function is called in the middle of node update.
Mergedinto: 679991
Status: Duplicate (was: Assigned)

Sign in to add a comment