Allow multiple URL.createObjectURL invocations for MediaSource
Currently calling URL.createObjectURL for a MediaSource more than once
causes an assert/crash due to MediaSource::m_isAddedToRegistry flag
being already set. But since calling createObjectURL is actually a
valid thing to do and should just generate new unique URLs, let's
replace the m_isAddedToRegistry flag with a counter.
BUG=604425
Review-Url: https://codereview.chromium.org/2133143003
Cr-Commit-Position: refs/heads/master@{#404879}
3 files changed