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

Issue 2314763002: Replace collectLayerFragments() with FragmentainerIterator. (Closed)

Created:
4 years, 3 months ago by mstensho (USE GERRIT)
Modified:
4 years, 3 months ago
Reviewers:
chrishtr, eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, slimming-paint-reviews_chromium.org, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace collectLayerFragments() with FragmentainerIterator. No functional changes intended. The way collectLayerFragments() and PaintLayer::collectFragments() cooperated to populate the PaintLayerFragments was rather messy. collectLayerFragments() set two members, and then, later on, PaintLayer::collectFragments() would set the remaining members, translate and clip. With this change, the layout code no longer uses PaintLayerFragments. It should also be mentioned that collectLayerFragments() was a bad name, because this functionality shouldn't be strictly for layers. We're soon going to need it for getClientRects() as well. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/bf0d65b763505b57663425ae3499d766e55ba395 Cr-Commit-Position: refs/heads/master@{#417271}

Patch Set 1 #

Patch Set 2 : rebase master for https://codereview.chromium.org/2310233002/ #

Total comments: 4

Patch Set 3 : code review. #

Messages

Total messages: 30 (19 generated)
mstensho (USE GERRIT)
This one is ready for review. My initial attempt had https://codereview.chromium.org/2310233002/ as part of this ...
4 years, 3 months ago (2016-09-07 09:49:28 UTC) #12
eae
LGTM w/nit https://codereview.chromium.org/2314763002/diff/20001/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp File third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp (right): https://codereview.chromium.org/2314763002/diff/20001/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp#newcode57 third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp:57: if (m_currentFragmentainerIndex > m_endFragmentainerIndex) { How about ...
4 years, 3 months ago (2016-09-08 08:15:03 UTC) #13
mstensho (USE GERRIT)
https://codereview.chromium.org/2314763002/diff/20001/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp File third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp (right): https://codereview.chromium.org/2314763002/diff/20001/third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp#newcode57 third_party/WebKit/Source/core/layout/FragmentainerIterator.cpp:57: if (m_currentFragmentainerIndex > m_endFragmentainerIndex) { On 2016/09/08 08:15:03, eae ...
4 years, 3 months ago (2016-09-08 08:59:51 UTC) #14
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/2314763002/40001
4 years, 3 months ago (2016-09-08 09:00:37 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/125486) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-08 09:07:18 UTC) #19
eae
Thanks, LGTM++
4 years, 3 months ago (2016-09-08 09:17:21 UTC) #20
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/2314763002/40001
4 years, 3 months ago (2016-09-08 09:33:45 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/82430)
4 years, 3 months ago (2016-09-08 10:26:12 UTC) #24
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/2314763002/40001
4 years, 3 months ago (2016-09-08 11:08:44 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-08 13:25:10 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 13:28:31 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bf0d65b763505b57663425ae3499d766e55ba395
Cr-Commit-Position: refs/heads/master@{#417271}

Powered by Google App Engine
This is Rietveld 408576698