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

Unified Diff: Source/WebCore/history/CachedFrame.cpp

Issue 6537003: Merge 78648 - 2011-02-15 James Robinson <jamesr@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 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/WebCore/dom/ScriptedAnimationController.cpp ('k') | Source/WebCore/page/PageGroupLoadDeferrer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/history/CachedFrame.cpp
===================================================================
--- Source/WebCore/history/CachedFrame.cpp (revision 78732)
+++ Source/WebCore/history/CachedFrame.cpp (working copy)
@@ -94,6 +94,7 @@
frame->animation()->resumeAnimationsForDocument(m_document.get());
frame->eventHandler()->setMousePressNode(m_mousePressNode.get());
m_document->resumeActiveDOMObjects();
+ m_document->resumeScriptedAnimationControllerCallbacks();
// It is necessary to update any platform script objects after restoring the
// cached page.
@@ -136,6 +137,7 @@
frame->page()->focusController()->setFocusedFrame(frame->page()->mainFrame());
// Active DOM objects must be suspended before we cached the frame script data
+ m_document->suspendScriptedAnimationControllerCallbacks();
m_document->suspendActiveDOMObjects(ActiveDOMObject::DocumentWillBecomeInactive);
m_cachedFrameScriptData = adoptPtr(new ScriptCachedFrameData(frame));
« no previous file with comments | « Source/WebCore/dom/ScriptedAnimationController.cpp ('k') | Source/WebCore/page/PageGroupLoadDeferrer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698