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

Issue 11231056: [Chromoting] Fix crash on initial connection (Mac). (Closed)

Created:
8 years, 2 months ago by garykac
Modified:
8 years, 2 months ago
Reviewers:
Jamie, Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

[Chromoting] Fix crash on initial connection (Mac). If we get a ScreenRefresh while desktop_bounds_ is empty, we'll try to capture the screen into an empty buffer. The fix is to check the desktop_bounds_ and update the screen configuration before initiating the ScreenRefresh. BUG=154716 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163588

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M remoting/host/video_frame_capturer_mac.mm View 2 chunks +4 lines, -0 lines 3 comments Download

Messages

Total messages: 11 (0 generated)
garykac
8 years, 2 months ago (2012-10-22 20:50:17 UTC) #1
Jamie
http://codereview.chromium.org/11231056/diff/1/remoting/host/video_frame_capturer_mac.mm File remoting/host/video_frame_capturer_mac.mm (right): http://codereview.chromium.org/11231056/diff/1/remoting/host/video_frame_capturer_mac.mm#newcode802 remoting/host/video_frame_capturer_mac.mm:802: } ScreenConfigurationChanged is supposed to be called in response ...
8 years, 2 months ago (2012-10-22 21:14:25 UTC) #2
Wez
We call ScreenConfigurationChanged() in Init(), immediately after registering for ScreenRefresh notifications, so are we getting ...
8 years, 2 months ago (2012-10-22 23:03:29 UTC) #3
garykac
On 2012/10/22 21:14:25, Jamie wrote: > http://codereview.chromium.org/11231056/diff/1/remoting/host/video_frame_capturer_mac.mm > File remoting/host/video_frame_capturer_mac.mm (right): > > http://codereview.chromium.org/11231056/diff/1/remoting/host/video_frame_capturer_mac.mm#newcode802 > ...
8 years, 2 months ago (2012-10-22 23:14:19 UTC) #4
garykac
On 2012/10/22 23:03:29, Wez wrote: > We call ScreenConfigurationChanged() in Init(), immediately after registering > ...
8 years, 2 months ago (2012-10-22 23:15:01 UTC) #5
Wez
As I commented on the bug, this may well be related to multi-monitor; we now ...
8 years, 2 months ago (2012-10-22 23:40:42 UTC) #6
Jamie
On further investigation, we now understand what the "correct" fix is. Since it's almost identical ...
8 years, 2 months ago (2012-10-23 00:13:12 UTC) #7
garykac
On 2012/10/22 23:40:42, Wez wrote: > As I commented on the bug, this may well ...
8 years, 2 months ago (2012-10-23 00:18:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/garykac@chromium.org/11231056/1
8 years, 2 months ago (2012-10-23 00:20:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/garykac@chromium.org/11231056/1
8 years, 2 months ago (2012-10-23 16:58:16 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-23 17:41:17 UTC) #11
Change committed as 163588

Powered by Google App Engine
This is Rietveld 408576698