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

Issue 2710423002: Make WebMediaConstraitsPrivate ThreadSafeRefCounted (Closed)

Created:
3 years, 10 months ago by tzik
Modified:
3 years, 9 months ago
Reviewers:
qiangchen, haraken
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make WebMediaConstraitsPrivate ThreadSafeRefCounted WebMediaConstraitsPrivate had a non-thread-safe ref count, but accessed from multiple threads. E.g. UserMediaClientImpl::SelectVideoDeviceSourceSettings() makes a reference of WebMediaConstraitsPrivate via WebUserMediaRequest::videoConstraints(), and passes it to a CategorizedWorkerPool, then the reference is dropped on the worker thread without any protection. BUG=688072 Review-Url: https://codereview.chromium.org/2710423002 Cr-Commit-Position: refs/heads/master@{#453505} Committed: https://chromium.googlesource.com/chromium/src/+/0e0765474bc7bf13cbdf778d06bbc3be5783f11e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M third_party/WebKit/Source/platform/exported/WebMediaConstraints.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
tzik
PTAL
3 years, 10 months ago (2017-02-24 08:03:37 UTC) #5
qiangchen
On 2017/02/24 08:03:37, tzik wrote: > PTAL Did you specify a wrong reviewer? I do ...
3 years, 10 months ago (2017-02-24 16:57:28 UTC) #8
tzik
On 2017/02/24 16:57:28, qiangchen wrote: > On 2017/02/24 08:03:37, tzik wrote: > > PTAL > ...
3 years, 10 months ago (2017-02-25 08:00:24 UTC) #11
qiangchen
lgtm
3 years, 9 months ago (2017-02-27 16:44:38 UTC) #14
tzik
Adding haraken for owner review. PTAL.
3 years, 9 months ago (2017-02-28 00:57:20 UTC) #16
haraken
LGTM
3 years, 9 months ago (2017-02-28 02:27:43 UTC) #17
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/2710423002/1
3 years, 9 months ago (2017-02-28 02:37:50 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 05:04:54 UTC) #22
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/0e0765474bc7bf13cbdf778d06bb...

Powered by Google App Engine
This is Rietveld 408576698