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

Issue 297713002: Fixes crash in RemoteWindowTreeHostWin::HandleActivateDesktop (Closed)

Created:
6 years, 7 months ago by sky
Modified:
6 years, 7 months ago
Reviewers:
ananta
CC:
chromium-reviews, sadrul, ben+aura_chromium.org, kalyank
Visibility:
Public.

Description

Fixes crash in RemoteWindowTreeHostWin::HandleActivateDesktop Rather than route this through RemoteWindowTreeHostWin (which can now be NULL) I'm routing it through ChromeMetroViewerProcessHost. I'm also adding a NULL check as it may be possible in some code paths for the host to have been disconnected and therefor NULL. BUG=374766 TEST=none R=ananta@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271816

Patch Set 1 #

Patch Set 2 : follow old pattern #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -29 lines) Patch
M chrome/browser/lifetime/application_lifetime_win.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.h View 1 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/metro_viewer/chrome_metro_viewer_process_host_aurawin.cc View 1 2 chunks +18 lines, -0 lines 0 comments Download
M ui/aura/remote_window_tree_host_win.h View 2 chunks +0 lines, -11 lines 0 comments Download
M ui/aura/remote_window_tree_host_win.cc View 2 chunks +0 lines, -15 lines 0 comments Download
M win8/viewer/metro_viewer_process_host.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
sky
6 years, 7 months ago (2014-05-20 14:22:28 UTC) #1
sky
Also, this is the route I think we should go with all the other functions ...
6 years, 7 months ago (2014-05-20 14:23:05 UTC) #2
ananta
Does it sound reasonable to send the corresponding IPCs in the global functions like HandleActivateDesktop ...
6 years, 7 months ago (2014-05-20 17:23:58 UTC) #3
sky
I don't think so. Those functions have nothing to do with RemoteWindowTreeHostWin and don't even ...
6 years, 7 months ago (2014-05-20 17:41:41 UTC) #4
sky
Changed to follow same pattern as before. Function is now in chrome_browser_metro_viewer_process_host_aurawin.h
6 years, 7 months ago (2014-05-20 18:30:36 UTC) #5
ananta
lgtm
6 years, 7 months ago (2014-05-20 18:36:16 UTC) #6
sky
The CQ bit was checked by sky@chromium.org
6 years, 7 months ago (2014-05-20 19:17:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/297713002/20001
6 years, 7 months ago (2014-05-20 19:19:14 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 02:18:46 UTC) #9
Message was sent while issue was closed.
Change committed as 271816

Powered by Google App Engine
This is Rietveld 408576698