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

Issue 2844993004: Don't skip logic in in UpdateLifecyclePhasesInternal for kCompositingInputsClean (Closed)

Created:
3 years, 7 months ago by smcgruer
Modified:
3 years, 7 months ago
Reviewers:
flackr, chrishtr
CC:
blink-reviews, blink-reviews-frames_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't skip logic in in UpdateLifecyclePhasesInternal for kCompositingInputsClean This was an oversight when I originally implemented kCompositingInputsUpdate; the early-exit from UpdateLifecyclePhasesInternal meant that some necessary logic was being skipped accidentally. BUG=716150 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2844993004 Cr-Commit-Position: refs/heads/master@{#469189} Committed: https://chromium.googlesource.com/chromium/src/+/dc545e9fc108b42ff88ae4d696ea4b5ed3bffcc1

Patch Set 1 #

Patch Set 2 : Add unittest #

Total comments: 4

Patch Set 3 : Address reviewer suggestions #

Patch Set 4 : remove DCHECK #

Total comments: 4

Patch Set 5 : Actually do the conditionals properly #

Patch Set 6 : Additional comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -14 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 2 chunks +9 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (30 generated)
smcgruer
3 years, 7 months ago (2017-04-28 13:26:34 UTC) #13
flackr
LGTM
3 years, 7 months ago (2017-04-28 13:38:28 UTC) #16
chrishtr
https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3128 third_party/WebKit/Source/core/frame/FrameView.cpp:3128: void FrameView::UpdateLayerTree( I don't think UpdateLayerTree means much of ...
3 years, 7 months ago (2017-04-28 15:35:51 UTC) #19
smcgruer
https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3128 third_party/WebKit/Source/core/frame/FrameView.cpp:3128: void FrameView::UpdateLayerTree( On 2017/04/28 15:35:51, chrishtr wrote: > I ...
3 years, 7 months ago (2017-04-28 15:40:35 UTC) #20
smcgruer
https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3128 third_party/WebKit/Source/core/frame/FrameView.cpp:3128: void FrameView::UpdateLayerTree( On 2017/04/28 15:35:51, chrishtr wrote: > I ...
3 years, 7 months ago (2017-04-28 15:40:35 UTC) #21
flackr
On 2017/04/28 15:40:35, smcgruer wrote: > https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3128 > ...
3 years, 7 months ago (2017-04-28 15:42:24 UTC) #22
chrishtr
https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2844993004/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3128 third_party/WebKit/Source/core/frame/FrameView.cpp:3128: void FrameView::UpdateLayerTree( On 2017/04/28 at 15:40:35, smcgruer wrote: > ...
3 years, 7 months ago (2017-04-28 18:28:56 UTC) #23
smcgruer
I have changed the code as per Chris' suggestion. I have also removed a DCHECK ...
3 years, 7 months ago (2017-04-28 19:32:13 UTC) #24
flackr
https://codereview.chromium.org/2844993004/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2844993004/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3117 third_party/WebKit/Source/core/frame/FrameView.cpp:3117: if (target_state >= DocumentLifecycle::kPrePaintClean) { Can we unnest this ...
3 years, 7 months ago (2017-04-28 19:38:18 UTC) #27
smcgruer
https://codereview.chromium.org/2844993004/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2844993004/diff/60001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3117 third_party/WebKit/Source/core/frame/FrameView.cpp:3117: if (target_state >= DocumentLifecycle::kPrePaintClean) { On 2017/04/28 19:38:18, flackr ...
3 years, 7 months ago (2017-04-28 19:43:44 UTC) #33
smcgruer
Ping for BLINK owners since I just realized this is blocking https://codereview.chromium.org/2839263002/
3 years, 7 months ago (2017-05-03 19:28:48 UTC) #37
chrishtr
lgtm
3 years, 7 months ago (2017-05-03 21:12:49 UTC) #39
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/2844993004/100001
3 years, 7 months ago (2017-05-03 21:13:13 UTC) #41
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 23:12:53 UTC) #44
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/dc545e9fc108b42ff88ae4d696ea...

Powered by Google App Engine
This is Rietveld 408576698