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

Issue 240293006: gfx::Image is now thread-safe. (Closed)

Created:
6 years, 8 months ago by Matt Giuca
Modified:
5 years, 8 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, rsesek+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, calamity, jackhou1
Visibility:
Public.

Description

gfx::Image is now thread-safe. Its internal storage now uses RefCountedThreadSafe, and a mutex to guard against access to mutable fields. Also took this opportunity to fix up const correctness of some of the internal code, and add documentation to the header file. BUG=468010, 364006

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -18 lines) Patch
M ui/gfx/image/image.h View 3 chunks +10 lines, -2 lines 1 comment Download
M ui/gfx/image/image.cc View 7 chunks +50 lines, -16 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Matt Giuca
Hi Robert, This is an early WIP patch (it hasn't been tested beyond manually verifying ...
6 years, 8 months ago (2014-04-17 06:27:07 UTC) #1
Robert Sesek
I think this change is doing two things at once, and I think only one ...
6 years, 8 months ago (2014-04-17 16:56:58 UTC) #2
Matt Giuca
5 years, 8 months ago (2015-04-09 00:25:14 UTC) #3
Message was sent while issue was closed.
Finally closing this issue.

Instead of making gfx::Image thread-safe, I am fixing the thread-unsafe uses of
it in app shortcut creation code (https://codereview.chromium.org/1038573002).
See the discussion at http://crbug.com/468010.

Powered by Google App Engine
This is Rietveld 408576698