Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool JSRequestAnimationFrameCallback::handleEvent(double highResTime)
- {
- if (!canInvokeCallback())
- return true;
- Ref<JSRequestAnimationFrameCallback> protect(*this);
- JSLockHolder lock(m_data->globalObject()->vm());
- ExecState* exec = m_data->globalObject()->globalExec();
- UNUSED_PARAM(exec);
- MarkedArgumentBuffer args;
- args.append(jsNumber(highResTime));
- bool raisedException = false;
- m_data->invokeCallback(args, &raisedException);
- return !raisedException;
- }
Advertisement
Add Comment
Please, Sign In to add comment