|
|
Chromium Code Reviews
DescriptionPrevent hiding a toast during animation
This patch should fix the crash (b/29503765).
BUG=628511
BUG=b:29503765
TEST=show a toast and click dismiss button 20 times, no crash observed
R=oshima@chromium.org
TBR=stevenjb@chromium.org
Committed: https://crrev.com/0444c447e813e8fb5931bb0cd141f8f2168ed392
Cr-Commit-Position: refs/heads/master@{#406482}
Patch Set 1 #Patch Set 2 : . #
Total comments: 2
Patch Set 3 : For comment #6 #Patch Set 4 : . #Patch Set 5 : Fix test failures #Messages
Total messages: 36 (22 generated)
Description was changed from ========== . BUG= ========== to ========== Prevent hiding a toast during animation It may cause the crash (b/29503765). BUG=b:29503765 TEST=none ==========
yoshiki@chromium.org changed reviewers: + oshima@chromium.org
Description was changed from ========== Prevent hiding a toast during animation It may cause the crash (b/29503765). BUG=b:29503765 TEST=none ========== to ========== Prevent hiding a toast during animation This patch may fix the crash (b/29503765). BUG=b:29503765 TEST=none ==========
Description was changed from ========== Prevent hiding a toast during animation This patch may fix the crash (b/29503765). BUG=b:29503765 TEST=none ========== to ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed ==========
Oshima-san, PTAL
You probably should file a crbug for merge. https://codereview.chromium.org/2150603003/diff/20001/ash/common/system/toast... File ash/common/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/2150603003/diff/20001/ash/common/system/toast... ash/common/system/toast/toast_overlay.cc:257: return; won't his also prevent showing during hiding animation? Is it ok?
I'll file a crbug issue. Thanks. https://codereview.chromium.org/2150603003/diff/20001/ash/common/system/toast... File ash/common/system/toast/toast_overlay.cc (right): https://codereview.chromium.org/2150603003/diff/20001/ash/common/system/toast... ash/common/system/toast/toast_overlay.cc:257: return; On 2016/07/14 13:18:31, oshima wrote: > won't his also prevent showing during hiding animation? Is it ok? It doesn't happen, since a toast overlay instance is not reused. The toast manager instanciates new ToastOverlay after hiding animation of previous toast. I added DCHECK.
The CQ bit was checked by yoshiki@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: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
oshima@google.com changed reviewers: + oshima@google.com
can you check test failures?
The CQ bit was checked by yoshiki@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.
On 2016/07/15 05:05:54, oshima1 wrote: > can you check test failures? I fixed the test failure. PTAL.
Description was changed from ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed ========== to ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=628511 BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed ==========
lgtm
The CQ bit was checked by yoshiki@chromium.org
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
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_presub...)
The CQ bit was checked by yoshiki@chromium.org
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
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_presub...)
Description was changed from ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=628511 BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed ========== to ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=628511 BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed R=oshima@chromium.org TBR=stevenjb@chromium.org ==========
The CQ bit was checked by yoshiki@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=628511 BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed R=oshima@chromium.org TBR=stevenjb@chromium.org ========== to ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=628511 BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed R=oshima@chromium.org TBR=stevenjb@chromium.org ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
CQ bit was unchecked.
Message was sent while issue was closed.
Description was changed from ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=628511 BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed R=oshima@chromium.org TBR=stevenjb@chromium.org ========== to ========== Prevent hiding a toast during animation This patch should fix the crash (b/29503765). BUG=628511 BUG=b:29503765 TEST=show a toast and click dismiss button 20 times, no crash observed R=oshima@chromium.org TBR=stevenjb@chromium.org Committed: https://crrev.com/0444c447e813e8fb5931bb0cd141f8f2168ed392 Cr-Commit-Position: refs/heads/master@{#406482} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/0444c447e813e8fb5931bb0cd141f8f2168ed392 Cr-Commit-Position: refs/heads/master@{#406482} |
