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

Issue 2836703003: Use RefCountedThreadSafe in GPU IDC (Closed)

Created:
3 years, 8 months ago by ericrk
Modified:
3 years, 7 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use RefCountedThreadSafe in GPU IDC Currently GPU Image Decode Controller uses a base::RefCounted object. This object isn't thread safe, which is fine, as GPUIDC holds a lock during access. However, the RefCounted object can't detect that the usage is safe and raises a DCHECK. This change just makes the object a RefCountedThreadSafe. Ref/Unref should be rare enough that this won't have a big impact. And is easier than working around the DCHECK in another way. R=vmpstr@chromium.org BUG=714245 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2836703003 Cr-Commit-Position: refs/heads/master@{#467793} Committed: https://chromium.googlesource.com/chromium/src/+/90567cc4853a3df94213a410c76ee9f981b75ecc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M cc/tiles/gpu_image_decode_cache.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
ericrk
3 years, 7 months ago (2017-04-25 17:12:07 UTC) #6
vmpstr
lgtm
3 years, 7 months ago (2017-04-26 22:28:03 UTC) #7
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/2836703003/1
3 years, 7 months ago (2017-04-26 22:29:02 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/439972)
3 years, 7 months ago (2017-04-27 00:19:30 UTC) #11
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/2836703003/1
3 years, 7 months ago (2017-04-27 19:54:35 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 21:26:09 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/90567cc4853a3df94213a410c76e...

Powered by Google App Engine
This is Rietveld 408576698