inline nsresult inlinedGetCurrentFrame(gfxIImageFrame **_retval) { if (mLastCompositedFrameIndex == mCurrentAnimationFrameIndex) { *_retval = mCompositingFrame; NS_ADDREF(*_retval); return NS_OK; } return inlinedGetFrameAt(mCurrentAnimationFrameIndex, _retval);
inline gfxIImageFrame* inlinedGetCurrentFrame() { if (mLastCompositedFrameIndex == mCurrentAnimationFrameIndex) return mCompositingFrame;  return mFrames[mCurrentAnimationFrameIndex];
  inline nsresult inlinedGetCurrentFrame(gfxIImageFrame **_retval) {    if (mLastCompositedFrameIndex == mCurrentAnimationFrameIndex) {      *_retval = mCompositingFrame;      NS_ADDREF(*_retval);      return NS_OK;    }    return inlinedGetFrameAt(mCurrentAnimationFrameIndex, _retval);  }