Ejemplo n.º 1
0
void DrawEventRecorderFile::RecordEvent(const RecordedEvent &aEvent) {
  WriteElement(mOutputStream, aEvent.mType);

  aEvent.RecordToStream(mOutputStream);

  Flush();
}
Ejemplo n.º 2
0
void
DrawEventRecorderMemory::RecordEvent(const RecordedEvent &aEvent)
{
  WriteElement(mOutputStream, aEvent.mType);

  aEvent.RecordToStream(mOutputStream);
}