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

Issue 1272143003: Remove code duplication in updateLifecycleToCompositingCleanPlusScrolling. (Closed)

Created:
5 years, 4 months ago by ojan
Modified:
5 years, 4 months ago
Reviewers:
chrishtr, esprehn, pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove code duplication in updateLifecycleToCompositingCleanPlusScrolling. There should only be one code path the runs the blink pipeline. Having multiple code paths means we mess up and end up with multiple pipelines. At the moment, there's a security bug here because only the updateLifecyclePhasesInternal code path has a FrameView protector. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200595

Patch Set 1 #

Total comments: 2

Patch Set 2 : address review comment #

Patch Set 3 : Fix asserts #

Patch Set 4 : remove added assert #

Total comments: 1

Patch Set 5 : merge to ToT #

Patch Set 6 : merge to ToT for real #

Patch Set 7 : add back newline #

Patch Set 8 : Try to manually recreate the patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -20 lines) Patch
M Source/core/frame/FrameView.h View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 2 chunks +16 lines, -18 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayerClipper.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 57 (28 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/1
5 years, 4 months ago (2015-08-08 01:51:30 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/73083)
5 years, 4 months ago (2015-08-08 02:24:39 UTC) #5
ojan
ping
5 years, 4 months ago (2015-08-11 16:50:11 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/1
5 years, 4 months ago (2015-08-11 16:51:01 UTC) #8
chrishtr
https://codereview.chromium.org/1272143003/diff/1/Source/core/frame/FrameView.h File Source/core/frame/FrameView.h (right): https://codereview.chromium.org/1272143003/diff/1/Source/core/frame/FrameView.h#newcode615 Source/core/frame/FrameView.h:615: OnlyUpToCompositingClean, plus scrolling
5 years, 4 months ago (2015-08-11 16:56:12 UTC) #10
ojan
https://codereview.chromium.org/1272143003/diff/1/Source/core/frame/FrameView.h File Source/core/frame/FrameView.h (right): https://codereview.chromium.org/1272143003/diff/1/Source/core/frame/FrameView.h#newcode615 Source/core/frame/FrameView.h:615: OnlyUpToCompositingClean, On 2015/08/11 at 16:56:12, chrishtr wrote: > plus ...
5 years, 4 months ago (2015-08-11 17:18:53 UTC) #11
chrishtr
On 2015/08/11 at 17:18:53, ojan wrote: > https://codereview.chromium.org/1272143003/diff/1/Source/core/frame/FrameView.h > File Source/core/frame/FrameView.h (right): > > https://codereview.chromium.org/1272143003/diff/1/Source/core/frame/FrameView.h#newcode615 ...
5 years, 4 months ago (2015-08-11 17:20:34 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/20001
5 years, 4 months ago (2015-08-11 17:21:13 UTC) #14
chrishtr
lgtm
5 years, 4 months ago (2015-08-11 17:21:50 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/20001
5 years, 4 months ago (2015-08-11 17:22:04 UTC) #17
Xianzhu
On 2015/08/11 17:20:34, chrishtr wrote: > On 2015/08/11 at 17:18:53, ojan wrote: > > > ...
5 years, 4 months ago (2015-08-11 17:35:05 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/65806)
5 years, 4 months ago (2015-08-11 18:00:10 UTC) #20
chrishtr
On 2015/08/11 17:35:05, Xianzhu wrote: > On 2015/08/11 17:20:34, chrishtr wrote: > > On 2015/08/11 ...
5 years, 4 months ago (2015-08-11 18:20:20 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/40001
5 years, 4 months ago (2015-08-14 20:46:08 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/90890)
5 years, 4 months ago (2015-08-14 21:25:29 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/60001
5 years, 4 months ago (2015-08-14 23:11:25 UTC) #27
ojan
https://codereview.chromium.org/1272143003/diff/60001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/1272143003/diff/60001/Source/core/frame/FrameView.cpp#newcode2471 Source/core/frame/FrameView.cpp:2471: ASSERT(lifecycle().state() == DocumentLifecycle::PaintInvalidationClean); Please take another look. Moved this ...
5 years, 4 months ago (2015-08-14 23:14:40 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-15 00:12:09 UTC) #30
esprehn
lgtm
5 years, 4 months ago (2015-08-15 00:47:39 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/60001
5 years, 4 months ago (2015-08-15 00:49:17 UTC) #35
commit-bot: I haz the power
Failed to apply patch for Source/core/frame/FrameView.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 4 months ago (2015-08-15 00:53:50 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/80001
5 years, 4 months ago (2015-08-15 01:14:13 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/103441) android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 4 months ago (2015-08-15 01:16:32 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/100001
5 years, 4 months ago (2015-08-15 01:27:48 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/103445) android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 4 months ago (2015-08-15 01:30:07 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/120001
5 years, 4 months ago (2015-08-15 01:36:44 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/57077)
5 years, 4 months ago (2015-08-15 01:39:05 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272143003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272143003/140001
5 years, 4 months ago (2015-08-15 03:12:19 UTC) #56
commit-bot: I haz the power
5 years, 4 months ago (2015-08-15 04:14:46 UTC) #57
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200595

Powered by Google App Engine
This is Rietveld 408576698