summaryrefslogtreecommitdiffstats
path: root/WebCore/history/CachedPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/history/CachedPage.cpp')
-rw-r--r--WebCore/history/CachedPage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebCore/history/CachedPage.cpp b/WebCore/history/CachedPage.cpp
index 20c5fd7..acbfd31 100644
--- a/WebCore/history/CachedPage.cpp
+++ b/WebCore/history/CachedPage.cpp
@@ -69,6 +69,7 @@ void CachedPage::restore(Page* page)
{
ASSERT(m_cachedMainFrame);
ASSERT(page && page->mainFrame() && page->mainFrame() == m_cachedMainFrame->view()->frame());
+ ASSERT(!page->frameCount());
m_cachedMainFrame->open();