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

Issue 1484383003: Use WindowTracker when resizing root window as it may delete other window in unit tests. (Closed)

Created:
5 years ago by oshima
Modified:
5 years ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use WindowTracker when resizing root window as it may delete other window in unit tests. This so far can happen in the test. The CL https://codereview.chromium.org/1483083003/ changes the timing of animation completion, which led to this state. BUG=None TEST=RootWindowLayoutManagerTest.DeleteChildDuringResize R=sky@chromium.org Committed: https://crrev.com/cabad394cf3cd7cacd97ecc4a4365b651dac69b8 Cr-Commit-Position: refs/heads/master@{#363004}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -32 lines) Patch
M ash/ash.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/panels/panel_layout_manager.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M ash/wm/root_window_layout_manager.cc View 2 chunks +8 lines, -6 lines 0 comments Download
A ash/wm/root_window_layout_manager_unittest.cc View 1 chunk +46 lines, -0 lines 0 comments Download
M ui/aura/test/test_windows.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_tracker.h View 1 3 chunks +11 lines, -5 lines 0 comments Download
M ui/aura/window_tracker.cc View 1 2 1 chunk +22 lines, -8 lines 0 comments Download
M ui/wm/core/transient_window_manager.cc View 1 chunk +3 lines, -9 lines 0 comments Download

Messages

Total messages: 23 (10 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/1484383003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484383003/1
5 years ago (2015-12-01 20:26:42 UTC) #3
oshima
5 years ago (2015-12-02 20:34:57 UTC) #5
sky
https://codereview.chromium.org/1484383003/diff/1/ash/wm/root_window_layout_manager.cc File ash/wm/root_window_layout_manager.cc (right): https://codereview.chromium.org/1484383003/diff/1/ash/wm/root_window_layout_manager.cc#newcode41 ash/wm/root_window_layout_manager.cc:41: while (grandchildren_tracker.has_windows()) WindowTracker internally uses a set. The old ...
5 years ago (2015-12-02 22:01:04 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/1484383003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484383003/40001
5 years ago (2015-12-03 00:36:30 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/64901) linux_chromium_chromeos_rel_ng on ...
5 years ago (2015-12-03 01:08:58 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1484383003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484383003/60001
5 years ago (2015-12-03 05:24:59 UTC) #12
oshima
https://codereview.chromium.org/1484383003/diff/1/ash/wm/root_window_layout_manager.cc File ash/wm/root_window_layout_manager.cc (right): https://codereview.chromium.org/1484383003/diff/1/ash/wm/root_window_layout_manager.cc#newcode41 ash/wm/root_window_layout_manager.cc:41: while (grandchildren_tracker.has_windows()) On 2015/12/02 22:01:04, sky wrote: > WindowTracker ...
5 years ago (2015-12-03 05:50:13 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-03 06:06:13 UTC) #15
sky
LGTM
5 years ago (2015-12-03 16:57:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1484383003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1484383003/60001
5 years ago (2015-12-03 17:30:53 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years ago (2015-12-03 17:38:28 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/cabad394cf3cd7cacd97ecc4a4365b651dac69b8 Cr-Commit-Position: refs/heads/master@{#363004}
5 years ago (2015-12-03 17:39:34 UTC) #22
huangs
4 years, 10 months ago (2016-02-12 01:23:47 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:60001) has been created in
https://codereview.chromium.org/1689873005/ by huangs@chromium.org.

The reason for reverting is: Not reverting: Experimenting with tracing cause of
http://crrev.com/583233..

Powered by Google App Engine
This is Rietveld 408576698