[go: nahoru, domu]

[Mojo Video Capture] Replace const scoped_refptr<T>& with scoped_refptr<T> and use std::move

Replace method signatures of touched code where const scoped_refptr<T>& is
passed into a method with passing the smart pointer by value. This is to
conform with updated Chromium style guidelines.

Note, this also required reviewing all call sites and deciding whether or not
the pointers should be copied or moved.

This CL is part of the Mojo Video Capture work. For the bigger picture,
see [1] CL1.9.2

BUG=584797
TEST=video_capture_unittests, content_unittests, capture_unittests

[1] https://docs.google.com/a/chromium.org/document/d/1Qw7rw1AJy0QHXjha36jZNiEuxsxWslJ_X-zpOhijvI8/edit?usp=sharing

Review-Url: https://codereview.chromium.org/2490153003
Cr-Commit-Position: refs/heads/master@{#431715}
22 files changed