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

Issue 2625083006: [DesktopCaptureDevice] Remove the if no client_ check (Closed)

Created:
3 years, 11 months ago by Hzj_jie
Modified:
3 years, 11 months ago
Reviewers:
Sergey Ulanov, miu
CC:
Jamie
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DesktopCaptureDevice] Remove the if no client_ check DesktopCaptureDevice is not designed to work with asynchronous implementation of DesktopCapturer. So the if (!client_) check in OnCaptureResult() is not reasonable and confusing. BUG=681145 Review-Url: https://codereview.chromium.org/2625083006 Cr-Commit-Position: refs/heads/master@{#444541} Committed: https://chromium.googlesource.com/chromium/src/+/c4f77c059dcf999c6411ce18d0312dd8f46774bf

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resolve review comments #

Patch Set 3 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M content/browser/media/capture/desktop_capture_device.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 48 (35 generated)
Hzj_jie
3 years, 11 months ago (2017-01-13 03:45:11 UTC) #6
miu
lgtm, but note: Ref-counting is *not* a default solution to problems like these. The Chromium ...
3 years, 11 months ago (2017-01-13 06:52:31 UTC) #10
Sergey Ulanov
I'm not sure how this change is related to the linked bug. The crash in ...
3 years, 11 months ago (2017-01-13 07:49:03 UTC) #11
Sergey Ulanov
On 2017/01/13 06:52:31, miu wrote: > lgtm, but note: Ref-counting is *not* a default solution ...
3 years, 11 months ago (2017-01-13 07:52:39 UTC) #12
Hzj_jie
On 2017/01/13 07:52:39, Sergey Ulanov wrote: > On 2017/01/13 06:52:31, miu wrote: > > lgtm, ...
3 years, 11 months ago (2017-01-13 20:17:24 UTC) #14
Hzj_jie
On 2017/01/13 20:17:24, Hzj_jie wrote: > On 2017/01/13 07:52:39, Sergey Ulanov wrote: > > On ...
3 years, 11 months ago (2017-01-13 20:26:53 UTC) #15
Hzj_jie
https://codereview.chromium.org/2625083006/diff/1/content/browser/media/capture/desktop_capture_device.cc File content/browser/media/capture/desktop_capture_device.cc (right): https://codereview.chromium.org/2625083006/diff/1/content/browser/media/capture/desktop_capture_device.cc#newcode220 content/browser/media/capture/desktop_capture_device.cc:220: if (!client_) On 2017/01/13 07:49:03, Sergey Ulanov wrote: > ...
3 years, 11 months ago (2017-01-13 22:10:23 UTC) #27
Sergey Ulanov
On 2017/01/13 22:10:23, Hzj_jie wrote: > The issue here is, before desktop_capture_.reset() has been called, ...
3 years, 11 months ago (2017-01-17 22:53:44 UTC) #30
Hzj_jie
On 2017/01/17 22:53:44, Sergey Ulanov wrote: > On 2017/01/13 22:10:23, Hzj_jie wrote: > > The ...
3 years, 11 months ago (2017-01-17 23:24:22 UTC) #31
Hzj_jie
On 2017/01/17 23:24:22, Hzj_jie wrote: > On 2017/01/17 22:53:44, Sergey Ulanov wrote: > > On ...
3 years, 11 months ago (2017-01-17 23:43:20 UTC) #38
Sergey Ulanov
lgtm
3 years, 11 months ago (2017-01-18 23:14:34 UTC) #42
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/2625083006/100001
3 years, 11 months ago (2017-01-18 23:15:14 UTC) #45
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 23:25:12 UTC) #48
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/c4f77c059dcf999c6411ce18d031...

Powered by Google App Engine
This is Rietveld 408576698