[Webkit-unassigned] [Bug 106842] adding support for DiscardablePixelRef for caching lazily decoded images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 28 19:40:39 PST 2013


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





--- Comment #99 from Min Qin <qinmin at chromium.org>  2013-01-28 19:42:37 PST ---
(From update of attachment 185081)
View in context: https://bugs.webkit.org/attachment.cgi?id=185081&action=review

>> Source/WebCore/platform/graphics/chromium/DiscardablePixelRef.cpp:89
>> +    if (!m_lockedMemory && m_discardable->lock())
> 
> Could m_discardable ever be 0 here?

it shouldn't. If allocAndLockDiscardableMemory failed, we should not use the DiscardablePixelRef anymore.

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