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

Unified Diff: Source/WebCore/bindings/js/ScriptDebugServer.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/WebCore.gypi ('k') | Source/WebCore/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/bindings/js/ScriptDebugServer.cpp
===================================================================
--- Source/WebCore/bindings/js/ScriptDebugServer.cpp (revision 78732)
+++ Source/WebCore/bindings/js/ScriptDebugServer.cpp (working copy)
@@ -417,10 +417,13 @@
frame->script()->setPaused(paused);
Document* document = frame->document();
- if (paused)
+ if (paused) {
+ document->suspendScriptedAnimationControllerCallbacks();
document->suspendActiveDOMObjects(ActiveDOMObject::JavaScriptDebuggerPaused);
- else
+ } else {
document->resumeActiveDOMObjects();
+ document->resumeScriptedAnimationControllerCallbacks();
+ }
setJavaScriptPaused(frame->view(), paused);
}
« no previous file with comments | « Source/WebCore/WebCore.gypi ('k') | Source/WebCore/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698