Chromium Code Reviews
DescriptionFix caret visual rect on compositing change
We should not clear CaretDisplayItemClient::m_localRect in
CaretDisplayItemClient::clearPreviousVisualRects() (which is called
on compositing change) because
- it doesn't change on compositing change;
- compositing change happens after updateStyleAndLayoutIfNeeded();
- we'll need m_localRect to calculate the new visual rect during paint
invalidation.
BUG=704443
Review-Url: https://codereview.chromium.org/2777183003
Cr-Commit-Position: refs/heads/master@{#459833}
Committed: https://chromium.googlesource.com/chromium/src/+/8f35a712fd404645efbc73aa8a1ce71d6d0078c0
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|
||||||||||||||||||||||||||||