- 
CJ DiMeglio authoredThis change allows the kOnDemand option to apply for MediaStreams, meaning that we can switch over to using Surfaces when it is needed for PiP, deferring to a VideoLayer in the normal non-PiP case. Bug: 889857 Change-Id: I56019885d24e9d36f74a279d31f8259081edd1d3 Reviewed-on: https://chromium-review.googlesource.com/c/1271591Reviewed-by: Frank Liberato <liberato@chromium.org> Reviewed-by: Emircan Uysaler <emircan@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Reviewed-by: François Beaufort <beaufort.francois@gmail.com> Commit-Queue: CJ DiMeglio <lethalantidote@chromium.org> Cr-Commit-Position: refs/heads/master@{#601738} 93582628