DescriptionFix the crash in DesktopBackgroundView::OnPaint
ImageSkia is not RefCountedThreadSafe, just RefCounted. We are accessing wallpaper(ImageSkia) on different threads(FILE and UI). When two threads try to AddRef at the same time, it cause problem. For m23, the current solution is to make a deep copy of imageskia and pass a scoped pointer to other thread. See (http://codereview.chromium.org/11361131/)
BUG=159431
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167700
Patch Set 1 #
Total comments: 11
Patch Set 2 : #Patch Set 3 : Oshima's review and rebase to TOT #
Messages
Total messages: 12 (0 generated)
|