~GradientStopsRecording()
 {
   mRecorder->RemoveStoredObject(this);
   mRecorder->RecordEvent(RecordedGradientStopsDestruction(this));
 }
 ~GradientStopsWrapAndRecord()
 {
   mRecorder->RemoveStoredObject(this);
   mRecorder->RecordEvent(RecordedGradientStopsDestruction(ReferencePtr(this)));
 }