Chromecast teardown race: SetCdm vs. pipeline destruction.

SetCdm travels this path:
* CMFH::SetCdm (IO) --> CMFH::SetCdmOnUiThread (UI) --> MPH::SetCdm (CMA).
while teardown:
* CMFH::DestroyMedia (IO) --> ~MPH (CMA)

This CL adjusts teardown path to go IO --> UI --> CMA. It's a little longer,
but it is now the superset of all IPC-message paths.

R=lcwu@chromium.org,servolk@chromium.org
BUG=internal b/20188230

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

Cr-Commit-Position: refs/heads/master@{#325677}
1 file changed