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

Issue 2251493002: arc: Fix crash on Arc window close. (Closed)

Created:
4 years, 4 months ago by khmel
Modified:
4 years, 4 months ago
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

arc: Fix crash on Arc window close. BUG=638261 BUG=b/30817552 TEST=Manually on device. No more crashes are observed. Committed: https://crrev.com/323b4a4792b0c6eb7e51d2aee66773378229e486 Cr-Commit-Position: refs/heads/master@{#412390}

Patch Set 1 #

Patch Set 2 : comments updated #

Total comments: 2

Patch Set 3 : alternative solutiobn #

Total comments: 4

Patch Set 4 : moved TaskInfo #

Total comments: 2

Patch Set 5 : unit_tests fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -36 lines) Patch
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.h View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 1 2 3 4 chunks +60 lines, -35 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc View 1 2 3 4 4 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
khmel
Hi Stefan, This fixes regression caused by https://codereview.chromium.org/2243573002. Before we did not associate arc app ...
4 years, 4 months ago (2016-08-15 21:55:08 UTC) #2
Mr4D (OOO till 08-26)
https://codereview.chromium.org/2251493002/diff/20001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2251493002/diff/20001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode364 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:364: app_window->controller()->OnWindowAttached(app_window); Hmm... I have the feeling that this gets ...
4 years, 4 months ago (2016-08-15 22:09:39 UTC) #3
khmel
PTAL https://codereview.chromium.org/2251493002/diff/20001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2251493002/diff/20001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode364 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:364: app_window->controller()->OnWindowAttached(app_window); On 2016/08/15 22:09:39, Mr4D wrote: > Hmm... ...
4 years, 4 months ago (2016-08-15 23:05:00 UTC) #4
Mr4D (OOO till 08-26)
I understand what you are trying to do and basically think it should do the ...
4 years, 4 months ago (2016-08-15 23:33:57 UTC) #6
khmel
Thanks Stefan, Also adding David, he might want to take a look as well.
4 years, 4 months ago (2016-08-15 23:43:58 UTC) #8
reveman
lgtm
4 years, 4 months ago (2016-08-15 23:47:04 UTC) #9
oshima
can you update the bug description exactly how the crash was happening? (my guess is ...
4 years, 4 months ago (2016-08-16 00:46:59 UTC) #10
Mr4D (OOO till 08-26)
Sorry - I didn't mark it explicitly, but this lgtm for me, but please wait ...
4 years, 4 months ago (2016-08-16 14:15:27 UTC) #11
khmel
Thank you for your reviews and comments. I've updated bug with more detailed info and ...
4 years, 4 months ago (2016-08-16 14:58:02 UTC) #12
yoshiki
Yury, did you forget to add task_info.cc/.h?
4 years, 4 months ago (2016-08-16 16:19:54 UTC) #13
khmel
On 2016/08/16 16:19:54, yoshiki wrote: > Yury, did you forget to add task_info.cc/.h? Hi Yoshiki, ...
4 years, 4 months ago (2016-08-16 16:21:24 UTC) #14
yoshiki
On 2016/08/16 16:19:54, yoshiki wrote: > Yury, did you forget to add task_info.cc/.h? Sorry, I ...
4 years, 4 months ago (2016-08-16 16:21:35 UTC) #15
oshima
lgtm https://codereview.chromium.org/2251493002/diff/60001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2251493002/diff/60001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode399 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:399: task_id_to_task_info_.erase(task_id); future improve suggestion: Consider using the state ...
4 years, 4 months ago (2016-08-16 18:03:11 UTC) #17
khmel
https://codereview.chromium.org/2251493002/diff/60001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc File chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc (right): https://codereview.chromium.org/2251493002/diff/60001/chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc#newcode399 chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc:399: task_id_to_task_info_.erase(task_id); On 2016/08/16 18:03:11, oshima wrote: > future improve ...
4 years, 4 months ago (2016-08-16 18:06:36 UTC) #18
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/2251493002/60001
4 years, 4 months ago (2016-08-16 18:07:12 UTC) #21
commit-bot: I haz the power
Exceeded global retry quota
4 years, 4 months ago (2016-08-16 18:45:27 UTC) #23
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/2251493002/80001
4 years, 4 months ago (2016-08-16 23:00:53 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-17 00:08:15 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 00:11:34 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/323b4a4792b0c6eb7e51d2aee66773378229e486
Cr-Commit-Position: refs/heads/master@{#412390}

Powered by Google App Engine
This is Rietveld 408576698