|
|
Created:
3 years, 6 months ago by yoichio Modified:
3 years, 6 months ago Reviewers:
yosin_UTC9 CC:
blink-reviews, chromium-reviews Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionRefactor LayoutSelection::SelectionBounds() with CollectSelectedMap().
CollectSelectedMap() collects LayoutObjects and LayoutBlocks that removed for-while-loop iterates.
Then we can unify their Rect.
BUG=708453
TEST=No change in behavior
Review-Url: https://codereview.chromium.org/2938133002
Cr-Commit-Position: refs/heads/master@{#479643}
Committed: https://chromium.googlesource.com/chromium/src/+/6b583e8e663c6afb2a9ceffaaad6b54637bdd8fc
Patch Set 1 #
Messages
Total messages: 24 (15 generated)
The CQ bit was checked by yoichio@chromium.org 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...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
PTAL
The CQ bit was checked by yoichio@chromium.org 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...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). BUG=708453 TEST=No change in behavior ========== to ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). BUG=708453 TEST=No change in behavior ==========
yoichio@chromium.org changed reviewers: + yosin@chromium.org
Code change itself is OK. But, I don't understand why this change yields same result as before. Could you explain why this change yield same results in description? It seems this change uses new algorithm to produces same result rather than refactoring.
On 2017/06/15 at 08:18:39, yosin_UTC9 wrote: > Code change itself is OK. > > But, I don't understand why this change yields same result as before. > > Could you explain why this change yield same results in description? > It seems this change uses new algorithm to produces same result rather than refactoring. Oh, I see CollectSelectedMap() does what this for-while-loop does.
Description was changed from ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). BUG=708453 TEST=No change in behavior ========== to ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). CollectSelectedMap() collect LayoutObjects and LayoutBlocks that removed for-while-loop iterates. Then we can unify their Rect. BUG=708453 TEST=No change in behavior ==========
Description was changed from ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). CollectSelectedMap() collect LayoutObjects and LayoutBlocks that removed for-while-loop iterates. Then we can unify their Rect. BUG=708453 TEST=No change in behavior ========== to ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). CollectSelectedMap() collects LayoutObjects and LayoutBlocks that removed for-while-loop iterates. Then we can unify their Rect. BUG=708453 TEST=No change in behavior ==========
Update description
The CQ bit was checked by yosin@chromium.org
lgtm
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": 1, "attempt_start_ts": 1497515720636030, "parent_rev": "4873f6cb2f8c674cbf7529b69820cd58c2d4df1f", "commit_rev": "6b583e8e663c6afb2a9ceffaaad6b54637bdd8fc"}
Message was sent while issue was closed.
Description was changed from ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). CollectSelectedMap() collects LayoutObjects and LayoutBlocks that removed for-while-loop iterates. Then we can unify their Rect. BUG=708453 TEST=No change in behavior ========== to ========== Refactor LayoutSelection::SelectionBounds() with CollectSelectedMap(). CollectSelectedMap() collects LayoutObjects and LayoutBlocks that removed for-while-loop iterates. Then we can unify their Rect. BUG=708453 TEST=No change in behavior Review-Url: https://codereview.chromium.org/2938133002 Cr-Commit-Position: refs/heads/master@{#479643} Committed: https://chromium.googlesource.com/chromium/src/+/6b583e8e663c6afb2a9ceffaaad6... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/6b583e8e663c6afb2a9ceffaaad6... |