Commit 7ade6062 authored by hausmann@webkit.org's avatar hausmann@webkit.org

2008-05-07 Ariya Hidayat <ariya.hidayat@trolltech.com>

        Rubber-stamped by Holger.

        Fix building without storage support.

        * page/PageGroup.cpp:
        (WebCore::PageGroup::closeLocalStorage): proper #if


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32948 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 47d8bd05
2008-05-07 Ariya Hidayat <ariya.hidayat@trolltech.com>
Rubber-stamped by Holger.
Fix building without storage support.
* page/PageGroup.cpp:
(WebCore::PageGroup::closeLocalStorage): proper #if
2008-05-07 Ariya Hidayat <ariya.hidayat@trolltech.com>
Rubber-stamped by Oliver Hunt.
......@@ -86,6 +86,7 @@ PageGroup* PageGroup::pageGroup(const String& groupName)
void PageGroup::closeLocalStorage()
{
#if ENABLE(DOM_STORAGE)
if (!pageGroups)
return;
......@@ -95,6 +96,7 @@ void PageGroup::closeLocalStorage()
if (LocalStorage* localStorage = it->second->localStorage())
localStorage->close();
}
#endif
}
void PageGroup::addPage(Page* page)
......
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