[Webkit-unassigned] [Bug 115029] [BlackBerry] Simplify BackForwardListBlackBerry::clear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 23 05:12:43 PDT 2013


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





--- Comment #2 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-04-23 05:11:02 PST ---
(From update of attachment 199212)
View in context: https://bugs.webkit.org/attachment.cgi?id=199212&action=review

> Source/WebKit/blackberry/WebCoreSupport/BackForwardListBlackBerry.cpp:106
> -    while (!m_impl->entries().isEmpty())
> -        m_impl->removeItem(m_impl->entries().last().get());
> +    m_impl->setCapacity(0);

I'm not sure it's the same, removeItem doesn't change the capacity and setCapacity also removes the items from the page cache.

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