unsigned LayoutTestController::numberOfActiveAnimations() const { if (!mainFrame) return false; WebCore::AnimationController* animationController = mainFrame->animation(); if (!animationController) return false; return animationController->numberOfActiveAnimations(mainFrame->document()); }
unsigned DumpRenderTreeSupportEfl::activeAnimationsCount(const Evas_Object* ewkFrame) { DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, 0); WebCore::AnimationController* animationController = frame->animation(); if (!animationController) return 0; return animationController->numberOfActiveAnimations(frame->document()); }
unsigned DumpRenderTreeSupportEfl::activeAnimationsCount(const Evas_Object* ewkFrame) { WebCore::Frame* frame = EWKPrivate::coreFrame(ewkFrame); if (!frame) return 0; WebCore::AnimationController* animationController = frame->animation(); if (!animationController) return 0; return animationController->numberOfActiveAnimations(frame->document()); }