| 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);
|
| }
|
|
|