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

Unified Diff: Source/WebCore/page/PageGroupLoadDeferrer.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/history/CachedFrame.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/page/PageGroupLoadDeferrer.cpp
===================================================================
--- Source/WebCore/page/PageGroupLoadDeferrer.cpp (revision 78732)
+++ Source/WebCore/page/PageGroupLoadDeferrer.cpp (working copy)
@@ -48,6 +48,7 @@
// NOTE: if PageGroupLoadDeferrer is ever used for tasks other than showing a modal window or sheet,
// the constructor will need to take a ActiveDOMObject::ReasonForSuspension.
for (Frame* frame = otherPage->mainFrame(); frame; frame = frame->tree()->traverseNext()) {
+ frame->document()->suspendScriptedAnimationControllerCallbacks();
frame->document()->suspendActiveDOMObjects(ActiveDOMObject::WillShowDialog);
frame->document()->asyncScriptRunner()->suspend();
if (DocumentParser* parser = frame->document()->parser())
@@ -71,6 +72,7 @@
for (Frame* frame = page->mainFrame(); frame; frame = frame->tree()->traverseNext()) {
frame->document()->resumeActiveDOMObjects();
+ frame->document()->resumeScriptedAnimationControllerCallbacks();
frame->document()->asyncScriptRunner()->resume();
if (DocumentParser* parser = frame->document()->parser())
parser->resumeScheduledTasks();
« no previous file with comments | « Source/WebCore/history/CachedFrame.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698