summaryrefslogtreecommitdiffstats
path: root/WebCore/history/CachedFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/history/CachedFrame.cpp')
-rw-r--r--WebCore/history/CachedFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/history/CachedFrame.cpp b/WebCore/history/CachedFrame.cpp
index f0a4fed..470e03f 100644
--- a/WebCore/history/CachedFrame.cpp
+++ b/WebCore/history/CachedFrame.cpp
@@ -128,7 +128,7 @@ CachedFrame::CachedFrame(Frame* frame)
ASSERT(m_view);
// Active DOM objects must be suspended before we cached the frame script data
- m_document->suspendActiveDOMObjects();
+ m_document->suspendActiveDOMObjects(ActiveDOMObject::DocumentWillBecomeInactive);
m_cachedFrameScriptData = adoptPtr(new ScriptCachedFrameData(frame));
// Custom scrollbar renderers will get reattached when the document comes out of the page cache