|
|
DescriptionReplace SPv2 check with DCHECK when it is always false
BUG=None
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2749023004
Cr-Commit-Position: refs/heads/master@{#457675}
Committed: https://chromium.googlesource.com/chromium/src/+/28fbcba6865441b3c83be87bbadc71c726a3d190
Patch Set 1 #Patch Set 2 : Add DCHECK #Messages
Total messages: 25 (16 generated)
The CQ bit was checked by xing.xu@intel.com to run a CQ dry run
Description was changed from ========== Delete SPV2 check when it is always false BUG=None ========== to ========== Delete SPV2 check when it is always false BUG=None ==========
xing.xu@intel.com changed reviewers: + dcheng@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
PTAL
dcheng@chromium.org changed reviewers: + pdr@chromium.org
Is this because slimming paint v2 is always enabled now so we're cleaning up these checks? The CL description could use some clarification. In any case, someone on the paint team is better qualified for reviewing this. +pdr
On 2017/03/15 09:18:42, dcheng wrote: > Is this because slimming paint v2 is always enabled now so we're cleaning up > these checks? The CL description could use some clarification. > > In any case, someone on the paint team is better qualified for reviewing this. > +pdr I am not sure if SPv2 is always enabled. I just found that FrameView::paintGraphicsLayerRecursively is called when !RuntimeEnabledFeatures::slimmingPaintV2Enabled() at https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/frame/Fra.... So I think no need to check RuntimeEnabledFeatures::slimmingPaintV2Enabled() inside FrameView::paintGraphicsLayerRecursively.
On 2017/03/15 13:42:39, xing.xu wrote: > On 2017/03/15 09:18:42, dcheng wrote: > > Is this because slimming paint v2 is always enabled now so we're cleaning up > > these checks? The CL description could use some clarification. > > > > In any case, someone on the paint team is better qualified for reviewing this. > > +pdr > I am not sure if SPv2 is always enabled. > I just found that FrameView::paintGraphicsLayerRecursively is called when > !RuntimeEnabledFeatures::slimmingPaintV2Enabled() > at > https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/frame/Fra.... > So I think no need to check RuntimeEnabledFeatures::slimmingPaintV2Enabled() > inside FrameView::paintGraphicsLayerRecursively. OK, I would suggest changing this to a DCHECK at the top of the function then.
On 2017/03/15 at 20:31:30, dcheng wrote: > On 2017/03/15 13:42:39, xing.xu wrote: > > On 2017/03/15 09:18:42, dcheng wrote: > > > Is this because slimming paint v2 is always enabled now so we're cleaning up > > > these checks? The CL description could use some clarification. > > > > > > In any case, someone on the paint team is better qualified for reviewing this. > > > +pdr > > I am not sure if SPv2 is always enabled. > > I just found that FrameView::paintGraphicsLayerRecursively is called when > > !RuntimeEnabledFeatures::slimmingPaintV2Enabled() > > at > > https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/frame/Fra.... > > So I think no need to check RuntimeEnabledFeatures::slimmingPaintV2Enabled() > > inside FrameView::paintGraphicsLayerRecursively. > > OK, I would suggest changing this to a DCHECK at the top of the function then. +1 to dcheng's suggestion
On 2017/03/15 22:00:04, pdr. wrote: > On 2017/03/15 at 20:31:30, dcheng wrote: > > On 2017/03/15 13:42:39, xing.xu wrote: > > > On 2017/03/15 09:18:42, dcheng wrote: > > > > Is this because slimming paint v2 is always enabled now so we're cleaning > up > > > > these checks? The CL description could use some clarification. > > > > > > > > In any case, someone on the paint team is better qualified for reviewing > this. > > > > +pdr > > > I am not sure if SPv2 is always enabled. > > > I just found that FrameView::paintGraphicsLayerRecursively is called when > > > !RuntimeEnabledFeatures::slimmingPaintV2Enabled() > > > at > > > > https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/frame/Fra.... > > > So I think no need to check RuntimeEnabledFeatures::slimmingPaintV2Enabled() > > > inside FrameView::paintGraphicsLayerRecursively. > > > > OK, I would suggest changing this to a DCHECK at the top of the function then. > > +1 to dcheng's suggestion Done, PTAL, thanks!
The CQ bit was checked by xing.xu@intel.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Delete SPV2 check when it is always false BUG=None ========== to ========== Replace SPv2 check with DCHECK when it is always false BUG=None ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Replace SPv2 check with DCHECK when it is always false BUG=None ========== to ========== Replace SPv2 check with DCHECK when it is always false BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
LGTM
The CQ bit was checked by xing.xu@intel.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 20001, "attempt_start_ts": 1489710325412680, "parent_rev": "41b5fdf37917746450bd1b89127f98b80a8f66cf", "commit_rev": "28fbcba6865441b3c83be87bbadc71c726a3d190"}
Message was sent while issue was closed.
Description was changed from ========== Replace SPv2 check with DCHECK when it is always false BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Replace SPv2 check with DCHECK when it is always false BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2749023004 Cr-Commit-Position: refs/heads/master@{#457675} Committed: https://chromium.googlesource.com/chromium/src/+/28fbcba6865441b3c83be87bbadc... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/28fbcba6865441b3c83be87bbadc... |