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

Issue 2494893002: Crash in DirectX capturer (Closed)

Created:
4 years, 1 month ago by Hzj_jie
Modified:
4 years, 1 month ago
Reviewers:
Sergey Ulanov, Jamie
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Crash in DirectX capturer A tiny but critical change to avoid a crash failure in DirectX capturer. A good news is this failure is caught by ScreenCapturer integration tests. BUG=314516 Committed: https://crrev.com/307409681680d9c783b4de1b48121a3056acfaf7 Cr-Commit-Position: refs/heads/master@{#15046}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Resolve review comments #

Total comments: 8

Patch Set 3 : Resolve review comments #

Total comments: 6

Patch Set 4 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -15 lines) Patch
M webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc View 1 2 3 2 chunks +8 lines, -15 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
Hzj_jie
4 years, 1 month ago (2016-11-10 23:33:46 UTC) #4
Jamie
https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode300 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:300: if (dest && dest != source) { Under what ...
4 years, 1 month ago (2016-11-11 00:00:41 UTC) #5
Hzj_jie
https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode300 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:300: if (dest && dest != source) { On 2016/11/11 ...
4 years, 1 month ago (2016-11-11 00:10:51 UTC) #6
Jamie
https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode300 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:300: if (dest && dest != source) { On 2016/11/11 ...
4 years, 1 month ago (2016-11-11 00:15:21 UTC) #7
Hzj_jie
On 2016/11/11 00:15:21, Jamie wrote: > https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc > File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): > > https://codereview.webrtc.org/2494893002/diff/1/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode300 > ...
4 years, 1 month ago (2016-11-11 00:22:23 UTC) #8
Jamie
LGTM if the proper fix is significantly more complex than using erase() instead of assigning ...
4 years, 1 month ago (2016-11-11 01:43:06 UTC) #9
Hzj_jie
On 2016/11/11 01:43:06, Jamie wrote: > LGTM if the proper fix is significantly more complex ...
4 years, 1 month ago (2016-11-11 03:24:13 UTC) #10
Jamie
lgtm
4 years, 1 month ago (2016-11-11 18:06:30 UTC) #11
Sergey Ulanov
https://codereview.webrtc.org/2494893002/diff/20001/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2494893002/diff/20001/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode278 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:278: if (contexts_[i] == nullptr) { I guess this loop ...
4 years, 1 month ago (2016-11-11 18:27:18 UTC) #12
Hzj_jie
https://codereview.webrtc.org/2494893002/diff/20001/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2494893002/diff/20001/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode278 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:278: if (contexts_[i] == nullptr) { On 2016/11/11 18:27:18, Sergey ...
4 years, 1 month ago (2016-11-11 21:51:31 UTC) #14
Sergey Ulanov
LGTM https://codereview.webrtc.org/2494893002/diff/20001/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc File webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc (right): https://codereview.webrtc.org/2494893002/diff/20001/webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc#newcode290 webrtc/modules/desktop_capture/win/dxgi_output_duplicator.cc:290: contexts_.erase(it); On 2016/11/11 21:51:31, Hzj_jie wrote: > On ...
4 years, 1 month ago (2016-11-11 22:57:36 UTC) #15
Hzj_jie
The failures on swarming do not relate to my change; the screen capturer tests are ...
4 years, 1 month ago (2016-11-11 23:28:23 UTC) #16
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/2494893002/80001
4 years, 1 month ago (2016-11-11 23:52:54 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 1 month ago (2016-11-12 00:54:17 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-11-12 00:54:26 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/307409681680d9c783b4de1b48121a3056acfaf7
Cr-Commit-Position: refs/heads/master@{#15046}

Powered by Google App Engine
This is Rietveld 408576698