bool DumpRenderTreeSupportEfl::pauseTransition(Evas_Object* ewkFrame, const char* name, const char* elementId, double time) { DRT_SUPPORT_FRAME_GET_OR_RETURN(ewkFrame, frame, false); WebCore::Element* element = frame->document()->getElementById(elementId); if (!element || !element->renderer()) return false; return frame->animation()->pauseTransitionAtTime(element->renderer(), name, time); }
bool DumpRenderTreeSupportEfl::pauseTransition(Evas_Object* ewkFrame, const char* name, const char* elementId, double time) { WebCore::Frame* frame = EWKPrivate::coreFrame(ewkFrame); if (!frame) return false; WebCore::Element* element = frame->document()->getElementById(elementId); if (!element || !element->renderer()) return false; return frame->animation()->pauseTransitionAtTime(element->renderer(), name, time); }