[webkit-reviews] review granted: [Bug 23620] Crash in appcache/resource-redirect.html on Tiger : [Attachment 27147] proposed fix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 29 11:13:02 PST 2009


Anders Carlsson <andersca at apple.com> has granted Alexey Proskuryakov
<ap at webkit.org>'s request for review:
Bug 23620: Crash in appcache/resource-redirect.html on Tiger
https://bugs.webkit.org/show_bug.cgi?id=23620

Attachment 27147: proposed fix
https://bugs.webkit.org/attachment.cgi?id=27147&action=review

------- Additional Comments from Anders Carlsson <andersca at apple.com>
 488	 ASSERT(!m_currentResource ||
m_pendingEntries.find(handle->request().url()) == m_pendingEntries.end());

Instead of doing .find you can just assert
!m_pendingEntries.contains(handle->request().url())

r=me


More information about the webkit-reviews mailing list