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

Issue 2211283003: Revert of Replace LayoutObject::skipInvalidationWhenLaidOutChildren() with painted... (Closed)

Created:
4 years, 4 months ago by Xianzhu
Modified:
4 years, 4 months ago
Reviewers:
chrishtr, trchen
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Replace LayoutObject::skipInvalidationWhenLaidOutChildren() with paintedOutputOfObjectHasNoEffect (patchset #9 id:160001 of https://codereview.chromium.org/2203933002/ ) Reason for revert: With the CL, LayoutBox::getPaintInvalidationReason() sometimes returns PaintInvalidationIncremental when paintedOutputOfObjectHasNoEffect() is true. Original issue's description: > Replace LayoutObject::skipInvalidationWhenLaidOutChildren() with paintedOutputOfObjectHasNoEffect > > We don't need to check if the layout is laid out because of children, > but just check if it will paint anything and if its painting is > affected by geometry change. > > Removed neededLayoutBecauseOfChildren logic and replaced > skipInvalidationWhenLaiedOutChildren() with > paintedOutputOfObjectHasNoEffect(). > > Also cleaned up selection paint invalidation. > > BUG=451090 > > Committed: https://crrev.com/bdd41f4e784486fd7522793283cb5c376a057f0a > Cr-Commit-Position: refs/heads/master@{#409965} TBR=chrishtr@chromium.org,trchen@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=451090, 643807

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -152 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 2 chunks +1 line, -93 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change.html View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/css3/flexbox/repaint-on-margin-change-expected.html View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 chunk +0 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 9 chunks +16 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 7 chunks +35 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutReplaced.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.h View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGHiddenContainer.cpp View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (1 generated)
Xianzhu
Created Revert of Replace LayoutObject::skipInvalidationWhenLaidOutChildren() with paintedOutputOfObjectHasNoEffect
4 years, 4 months ago (2016-08-05 17:06:45 UTC) #1
Xianzhu
4 years, 4 months ago (2016-08-05 17:14:20 UTC) #3
On 2016/08/05 17:06:45, Xianzhu wrote:
> Created Revert of Replace LayoutObject::skipInvalidationWhenLaidOutChildren()
> with paintedOutputOfObjectHasNoEffect

Because many tests have been rebaselined, reverting this CL may need more work
than fixing the bug. Closing this CL and will fix the bug instead.

Powered by Google App Engine
This is Rietveld 408576698