Commit 85bfa4b2 authored by ap@apple.com's avatar ap@apple.com

Unreviewed (emergency test fix).

        REGRESSION (r64518): Most regression tests fail on ASSERT(shouldTrackVisitedLinks)
        on Snow Leopard.

        Platforms that use strategies now use a different code path than others, and that code path
        lacks necessary checks. We don't have a Snow Leopard debug buildbot.

        * page/PageGroup.cpp: (WebCore::PageGroup::addVisitedLinkHash): The private version of
        addVisitedLink() must not be called when we're not tracking visited links.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent cfb6ac75
2010-08-03 Alexey Proskuryakov <ap@apple.com>
Unreviewed (emergency test fix).
REGRESSION (r64518): Most regression tests fail on ASSERT(shouldTrackVisitedLinks)
on Snow Leopard.
Platforms that use strategies now use a different code path than others, and that code path
lacks necessary checks. We don't have a Snow Leopard debug buildbot.
* page/PageGroup.cpp: (WebCore::PageGroup::addVisitedLinkHash): The private version of
addVisitedLink() must not be called when we're not tracking visited links.
2010-08-02 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
......@@ -138,7 +138,8 @@ bool PageGroup::isLinkVisited(LinkHash visitedLinkHash)
void PageGroup::addVisitedLinkHash(LinkHash hash)
{
addVisitedLink(hash);
if (shouldTrackVisitedLinks)
addVisitedLink(hash);
}
inline void PageGroup::addVisitedLink(LinkHash hash)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment