Please update the comment to describe out parameter `newFrame` and bool return value.