Fix a leak in TestingJsonParser.

This can occur if the Parse() completion callback quits the run loop, since the
parser is freed using DeleteSoon() in a task posted after the callbacks.

Review URL: https://codereview.chromium.org/1527063002

Cr-Commit-Position: refs/heads/master@{#365539}
3 files changed