Fix crash related with wrongly used erase
Fix crash related with wrongly used erase

We were always erasing one Frame Track, and this crashed when the Frame
Track function has no samples, because there is no FrameTrack. Now it is
fixed.

Fixed: http://b/185448604.

google/orbit,google/orbit,google/orbit,google/orbit