Chromium Code Reviews
DescriptionFixed some crashes when playing media from the blob URL.
The first problem that causes DCHECK failure is the access to Profile
from the IO thread. We should pass IO-thread-safe ResourceContext
instead of passing UI-thread confined BrowserContext (i.e. Profile).
We also must handle cases when blob URL resolves to NULL handle. There
are plenty of cases when this is true: the URL may be invalid or already
revoked, blob decoding may fail and so on.
BUG=429432
Committed: https://crrev.com/61cb84971f5f21eb83b7e3b3ac43364aafb9b2d4
Cr-Commit-Position: refs/heads/master@{#302775}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|
|||||||||||||||||||