multibuffer: make sure reader_ is protected

Desktop / Chromium - Fredrik Hubinette [google.com] - 12 October 2017 19:29 EDT

... so we can use it on another thread safely.

Bug: 772763 Change-Id: Idc823253deec6f877ecd08485a959bc560becb92 Reviewed-on: https://chromium-review.googlesource.com/707301

0b6f96b multibuffer: make sure reader_ is protected
media/blink/multibuffer_data_source.cc | 31 +++++++++++++++++++++++++------
media/blink/multibuffer_data_source.h | 9 ++++++++-
2 files changed, 33 insertions(+), 7 deletions(-)

Upstream: git.chromium.org


  • Share