Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(657)

Unified Diff: Source/core/page/Page.cpp

Issue 551973005: Streamline frame detach (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index ea017a3640d25f70b17faa25f4081577e7a59620..1ee917e6c518abe095f9c0fa5afc52a57e1e1cc4 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)
@@ -441,19 +440,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)
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698