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

Issue 2835553002: Crash in WindowCapturerWin (Closed)

Created:
3 years, 8 months ago by Hzj_jie
Modified:
3 years, 8 months ago
Reviewers:
Sergey Ulanov
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, Wez
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

This change fixes a crash issue in WindowCapturerWin. The issue and fix are both obvious, WindowCapturerWin should not return Result::SUCCESS with an empty frame. This issue was original introduced into the code base in change https://codereview.webrtc.org/1988783003/. I am also considering whether we should move the previous_size_ = frame->size(); window_size_map_[window_] = previous_size_; into the true branch. But since this change needs to be merged into M58 and M59, I would prefer to keep it as small as possible. BUG=712615 Review-Url: https://codereview.webrtc.org/2835553002 Cr-Commit-Position: refs/heads/master@{#17799} Committed: https://chromium.googlesource.com/external/webrtc/+/d41af462fb11a4854e25a84bb0d27b8c3fdd5519

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M webrtc/modules/desktop_capture/window_capturer_win.cc View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
Hzj_jie
3 years, 8 months ago (2017-04-20 21:24:59 UTC) #9
Hzj_jie
3 years, 8 months ago (2017-04-20 21:25:44 UTC) #12
Sergey Ulanov
lgtm
3 years, 8 months ago (2017-04-20 21:27:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2835553002/20001
3 years, 8 months ago (2017-04-20 21:51:07 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-20 21:53:41 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/d41af462fb11a4854e25a84bb...

Powered by Google App Engine
This is Rietveld 408576698