Data: avoid using delete on elements
Ref chromium issue 378607