[Webkit-unassigned] [Bug 103555] Make LazyDecodingPixelRef inherit from skia::LazyPixelRef so that cc thread can access it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 28 13:48:01 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103555





--- Comment #6 from Min Qin <qinmin at chromium.org>  2012-11-28 13:50:17 PST ---
(In reply to comment #4)
> (From update of attachment 176559 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=176559&action=review
> 
> > Source/WebCore/platform/graphics/chromium/LazyDecodingPixelRef.cpp:94
> > +    m_mutex.lock();
> 
> Use MutexLocker lock(m_mutex). The mutex just needs to protect access to m_frameGenerator and m_scaledSize. We don't absolutely need a mutex here because they don't mutate but just for safety.

Done

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list