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

Issue 2922463002: Replace deprecated base::NonThreadSafe in ui\gfx\image_skia.cc in favor of SequenceChecker. (Closed)

Created:
3 years, 6 months ago by gab
Modified:
3 years, 6 months ago
Reviewers:
oshima
CC:
chromium-reviews, rsesek+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace deprecated base::NonThreadSafe in ui\gfx\image_skia.cc in favor of SequenceChecker. Note to crash team: This CL is a refactor and has no intended behavior change. Note-worthy for the reviewer: * SequenceChecker enforces thread-safety but not thread-affinity! ImageSkiaStorage doesn't appear thread-affine so that's most likely a no-op. * ~NonThreadSafe() used to implcitly check in its destructor ~SequenceChecker() doesn't by design. Hence this CL allows removing the explicit Detach from ~ImageSkiaStorage(). BUG=676387 Review-Url: https://codereview.chromium.org/2922463002 Cr-Commit-Position: refs/heads/master@{#476727} Committed: https://chromium.googlesource.com/chromium/src/+/728abbb55ee7c2da5819b56c22bbedd79fb0e09b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -49 lines) Patch
M ui/gfx/image/image_skia.h View 2 chunks +9 lines, -9 lines 0 comments Download
M ui/gfx/image/image_skia.cc View 13 chunks +31 lines, -33 lines 0 comments Download
M ui/gfx/image/image_skia_unittest.cc View 7 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
gab
@oshima PTaL, thanks!
3 years, 6 months ago (2017-06-01 14:38:42 UTC) #4
gab
On 2017/06/01 14:38:42, gab wrote: > @oshima PTaL, thanks! friendly ping, one of the last ...
3 years, 6 months ago (2017-06-02 14:37:49 UTC) #7
oshima
lgtm
3 years, 6 months ago (2017-06-02 17:01:19 UTC) #8
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/2922463002/1
3 years, 6 months ago (2017-06-02 17:05:42 UTC) #10
commit-bot: I haz the power
3 years, 6 months ago (2017-06-02 18:17:28 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/728abbb55ee7c2da5819b56c22bb...

Powered by Google App Engine
This is Rietveld 408576698