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

Issue 2366853002: Invalidate paint of FrameView before invalidating the layout tree (Closed)

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

Description

Invalidate paint of FrameView before invalidating the layout tree This makes the current path and the slimmingPaintInvalidation path invalidate FrameView and layout tree in the same order, to avoid unnecessary layout test result differences. The slimmingPaintInvalidation path needs to handle invalidation of FrameView before traversing into the layout tree because the former initializes PaintInvalidatorContext which is needed by the latter. This will change the order of object paint invalidation of caret and frame scrollbars. In some cases, this will cause the caret to be invalidated twice (one in FrameView, another in BlockPaintInvalidator). Will optimize this when making partial rect invalidation work for spv2. BUG=646176 Committed: https://crrev.com/26ed6abea304672af3341109f6307d4001ed7bc4 Cr-Commit-Position: refs/heads/master@{#420749}

Patch Set 1 #

Patch Set 2 : NeedsRebaseline #

Patch Set 3 : NeedsRebaseline #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -25 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=slimmingPaintInvalidation View 1 chunk +0 lines, -24 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +24 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (18 generated)
Xianzhu
4 years, 3 months ago (2016-09-23 15:37:20 UTC) #14
chrishtr
https://codereview.chromium.org/2366853002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2366853002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations#newcode267 third_party/WebKit/LayoutTests/TestExpectations:267: crbug.com/646176 paint/invalidation/4776765.html [ NeedsRebaseline ] Maybe we should start ...
4 years, 3 months ago (2016-09-23 17:13:01 UTC) #15
Xianzhu
https://codereview.chromium.org/2366853002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2366853002/diff/40001/third_party/WebKit/LayoutTests/TestExpectations#newcode267 third_party/WebKit/LayoutTests/TestExpectations:267: crbug.com/646176 paint/invalidation/4776765.html [ NeedsRebaseline ] On 2016/09/23 17:13:01, chrishtr ...
4 years, 3 months ago (2016-09-23 17:54:44 UTC) #16
chrishtr
Quinten is working on that.
4 years, 3 months ago (2016-09-23 17:56:38 UTC) #17
Xianzhu
Unable to run webkit-patch rebaseline-cl because there are other unrelated NeedsRebaselines in TestExpectations, and the ...
4 years, 3 months ago (2016-09-23 21:55:23 UTC) #20
chrishtr
lgtm
4 years, 3 months ago (2016-09-23 21:56:29 UTC) #21
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/2366853002/40001
4 years, 3 months ago (2016-09-23 21:58:15 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-23 22:40:13 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 22:42:32 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/26ed6abea304672af3341109f6307d4001ed7bc4
Cr-Commit-Position: refs/heads/master@{#420749}

Powered by Google App Engine
This is Rietveld 408576698