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

Issue 2214253002: Don't traverse non-stacked layer under composited child in traverseNonCompositingDescendants (Closed)

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

Description

Don't traverse non-stacked layer under composited child in traverseNonCompositingDescendants Non-stacked layers under a composited object belong to the object, so we should not traverse them in traverseNonCompositingDescendants. BUG=634389 TEST=LayoutObjectTest.TraverseNonCompositingDescendantsInPaintOrder TBR=nednguyen (for enabling the system health smoke test) Committed: https://crrev.com/6f716f1637685a30fd65cdec3a6b130690d56dbf Cr-Commit-Position: refs/heads/master@{#410070}

Patch Set 1 #

Patch Set 2 : - #

Total comments: 4

Patch Set 3 : - #

Patch Set 4 : Update comments to be more accurate #

Patch Set 5 : !hasLayer || !isStacked #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -35 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 4 4 chunks +37 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp View 2 chunks +41 lines, -0 lines 1 comment Download
M tools/perf/benchmarks/system_health_smoke_test.py View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 40 (22 generated)
Xianzhu
4 years, 4 months ago (2016-08-04 22:43:29 UTC) #6
chrishtr
lgtm
4 years, 4 months ago (2016-08-04 23:10:30 UTC) #7
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/2214253002/20001
4 years, 4 months ago (2016-08-04 23:31:38 UTC) #10
trchen
Also, it is not your fault (actually my fault), the four cases are meant to ...
4 years, 4 months ago (2016-08-04 23:34:55 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/231561)
4 years, 4 months ago (2016-08-04 23:38:43 UTC) #13
Xianzhu
Also changed the if () { ... continue; } statements to if () { } ...
4 years, 4 months ago (2016-08-05 00:27:07 UTC) #14
trchen
Thank you for fixing this! lgtm
4 years, 4 months ago (2016-08-05 00:34:10 UTC) #16
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/2214253002/40001
4 years, 4 months ago (2016-08-05 00:34:50 UTC) #19
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/2214253002/60001
4 years, 4 months ago (2016-08-05 00:47:05 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/178779)
4 years, 4 months ago (2016-08-05 01:02:39 UTC) #25
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/2214253002/80001
4 years, 4 months ago (2016-08-05 03:34:29 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/255829)
4 years, 4 months ago (2016-08-05 05:04:18 UTC) #30
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/2214253002/80001
4 years, 4 months ago (2016-08-05 15:29:22 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-05 15:59:57 UTC) #34
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/6f716f1637685a30fd65cdec3a6b130690d56dbf Cr-Commit-Position: refs/heads/master@{#410070}
4 years, 4 months ago (2016-08-05 16:01:19 UTC) #36
anthonyvd
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/2219903002/ by anthonyvd@chromium.org. ...
4 years, 4 months ago (2016-08-05 16:12:33 UTC) #37
findit-for-me
FYI: Findit try jobs (rerunning failed compile or tests) identified this CL at revision 410070 ...
4 years, 4 months ago (2016-08-05 16:20:31 UTC) #38
iclelland
4 years, 4 months ago (2016-08-05 17:10:27 UTC) #40
Message was sent while issue was closed.
https://codereview.chromium.org/2214253002/diff/80001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp (right):

https://codereview.chromium.org/2214253002/diff/80001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/layout/LayoutObjectTest.cpp:153:
RefPtr<JSONArray> invalidations =
document().view()->trackedObjectPaintInvalidationsAsJSON();
Drive-by note, because of the revert. This needs to be
std::unique_ptr<JSONArray> now (as of https://crrev.com/cc67aa8)

Powered by Google App Engine
This is Rietveld 408576698