Web Replay: use nullptr and std::unique_ptr throughout replay code.