Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Issue 2779953002: Fix caret visual rect on compositing change (Closed)

Created:
3 years, 8 months ago by Xianzhu
Modified:
3 years, 8 months ago
Reviewers:
Xianzhu
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/branch-heads/3029
Project:
chromium
Visibility:
Public.

Description

Fix 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 TBR=wangxianzhu@chromium.org NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2777183003 Cr-Original-Commit-Position: refs/heads/master@{#459833} Review-Url: https://codereview.chromium.org/2779953002 Cr-Commit-Position: refs/branch-heads/3029@{#455} Cr-Branched-From: 939b32ee5ba05c396eef3fd992822fcca9a2e262-refs/heads/master@{#454471} Committed: https://chromium.googlesource.com/chromium/src/+/09159c33fefdbea144d2baf6485736f922ed8c08

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -3 lines) Patch
M third_party/WebKit/Source/core/editing/CaretDisplayItemClient.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/CaretDisplayItemClientTest.cpp View 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (3 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2779953002/1
3 years, 8 months ago (2017-03-28 18:32:19 UTC) #2
commit-bot: I haz the power
3 years, 8 months ago (2017-03-28 18:35:44 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/09159c33fefdbea144d2baf64857...

Powered by Google App Engine
This is Rietveld 408576698