void DrawEventRecorderFile::RecordEvent(const RecordedEvent &aEvent) { WriteElement(mOutputStream, aEvent.mType); aEvent.RecordToStream(mOutputStream); Flush(); }
void DrawEventRecorderMemory::RecordEvent(const RecordedEvent &aEvent) { WriteElement(mOutputStream, aEvent.mType); aEvent.RecordToStream(mOutputStream); }