[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:42:13 PST 2012


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





--- Comment #4 from Hin-Chung Lam <hclam at google.com>  2012-11-28 13:44:28 PST ---
(From update of attachment 176559)
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.

-- 
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