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

Issue 136763003: Fix User->image() without ImageSkia representation after login (Closed)

Created:
6 years, 11 months ago by bartfab (slow)
Modified:
6 years, 11 months ago
Reviewers:
Nikita (slow)
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Fix User->image() without ImageSkia representation after login If the user chose an external avatar image (a downloaded file or a webcam shot), the avatar image would remain invalid until the external image has been loaded and decoded. This led to a race on login where the image may be accessed before the load has completed. The CL fixes this by substituting a stub image while the load is in progress. BUG=331365 TEST=Manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244536

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/browser/chromeos/login/user_image_manager_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
bartfab (slow)
Hi Nikita, Could you please review?
6 years, 11 months ago (2014-01-13 15:27:40 UTC) #1
Nikita (slow)
lgtm I think this fix a bug that we saw rarely when a red square ...
6 years, 11 months ago (2014-01-13 16:04:13 UTC) #2
bartfab (slow)
On 2014/01/13 16:04:13, Nikita Kostylev wrote: > lgtm > > I think this fix a ...
6 years, 11 months ago (2014-01-13 16:07:17 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bartfab@chromium.org/136763003/1
6 years, 11 months ago (2014-01-13 16:08:59 UTC) #4
commit-bot: I haz the power
6 years, 11 months ago (2014-01-13 18:10:55 UTC) #5
Message was sent while issue was closed.
Change committed as 244536

Powered by Google App Engine
This is Rietveld 408576698