| Index: Source/core/page/Page.cpp
|
| diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
|
| index 9d3755e9dbd63bc1fdb32622294b7d6d1e50db94..42458958712b330f95c4c473633bbd52399b69a7 100644
|
| --- a/Source/core/page/Page.cpp
|
| +++ b/Source/core/page/Page.cpp
|
| @@ -128,7 +128,6 @@ Page::Page(PageClients& pageClients)
|
| , m_editorClient(pageClients.editorClient)
|
| , m_spellCheckerClient(pageClients.spellCheckerClient)
|
| , m_storageClient(pageClients.storageClient)
|
| - , m_subframeCount(0)
|
| , m_openedByDOM(false)
|
| , m_tabKeyCyclesThroughElements(true)
|
| , m_defersLoading(false)
|
| @@ -440,19 +439,6 @@ double Page::timerAlignmentInterval() const
|
| return m_timerAlignmentInterval;
|
| }
|
|
|
| -#if ENABLE(ASSERT)
|
| -void Page::checkSubframeCountConsistency() const
|
| -{
|
| - ASSERT(m_subframeCount >= 0);
|
| -
|
| - int subframeCount = 0;
|
| - for (Frame* frame = mainFrame(); frame; frame = frame->tree().traverseNext())
|
| - ++subframeCount;
|
| -
|
| - ASSERT(m_subframeCount + 1 == subframeCount);
|
| -}
|
| -#endif
|
| -
|
| void Page::setVisibilityState(PageVisibilityState visibilityState, bool isInitialState)
|
| {
|
| if (m_visibilityState == visibilityState)
|
|
|