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

Issue 2599613002: [SPInvalidation] Fix caret paint invalidation in sub frames (Closed)

Created:
4 years ago by Xianzhu
Modified:
4 years ago
Reviewers:
pdr.
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPInvalidation] Fix caret paint invalidation in sub frames When the caret is marked dirty in a frame, we need to set proper paint invalidation flags along the ancestor chain to the root frame, so that the frame will be checked for paint invalidation during PrePaintTreeWalk. We don't need this for non-SlimmingPaintInvalidation because we always walk all FrameViews during paint invalidation in the mode. BUG=646176 TEST=editing/caret/caret-hidden-when-unfocused.html with --enable-slimming-paint-invalidation CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/61544da8b33b48508b743eebd043f4be0f652714 Cr-Commit-Position: refs/heads/master@{#440321}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M third_party/WebKit/Source/core/editing/FrameCaret.cpp View 2 chunks +9 lines, -1 line 4 comments Download

Messages

Total messages: 16 (9 generated)
Xianzhu
This one is an under-paint-invalidation of caret, so is not listed in the paint property ...
4 years ago (2016-12-22 00:52:27 UTC) #4
pdr.
https://codereview.chromium.org/2599613002/diff/1/third_party/WebKit/Source/core/editing/FrameCaret.cpp File third_party/WebKit/Source/core/editing/FrameCaret.cpp (right): https://codereview.chromium.org/2599613002/diff/1/third_party/WebKit/Source/core/editing/FrameCaret.cpp#newcode147 third_party/WebKit/Source/core/editing/FrameCaret.cpp:147: // Ensure the frame will be checked for paint ...
4 years ago (2016-12-22 01:08:18 UTC) #6
Xianzhu
https://codereview.chromium.org/2599613002/diff/1/third_party/WebKit/Source/core/editing/FrameCaret.cpp File third_party/WebKit/Source/core/editing/FrameCaret.cpp (right): https://codereview.chromium.org/2599613002/diff/1/third_party/WebKit/Source/core/editing/FrameCaret.cpp#newcode147 third_party/WebKit/Source/core/editing/FrameCaret.cpp:147: // Ensure the frame will be checked for paint ...
4 years ago (2016-12-22 01:31:52 UTC) #7
pdr.
On 2016/12/22 at 01:31:52, wangxianzhu wrote: > https://codereview.chromium.org/2599613002/diff/1/third_party/WebKit/Source/core/editing/FrameCaret.cpp > File third_party/WebKit/Source/core/editing/FrameCaret.cpp (right): > > https://codereview.chromium.org/2599613002/diff/1/third_party/WebKit/Source/core/editing/FrameCaret.cpp#newcode147 ...
4 years ago (2016-12-22 01:34:34 UTC) #8
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/2599613002/1
4 years ago (2016-12-22 01:59:21 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-22 02:52:03 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-22 02:55:55 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/61544da8b33b48508b743eebd043f4be0f652714
Cr-Commit-Position: refs/heads/master@{#440321}

Powered by Google App Engine
This is Rietveld 408576698