| Index: services/media/framework/safe_clone.h
|
| diff --git a/services/media/framework/safe_clone.h b/services/media/framework/safe_clone.h
|
| index 1e4546f108a6599992b1ee2c63244c5aa706cafc..31b47c6089af92399c602da3d0e33b7f4bf604b1 100644
|
| --- a/services/media/framework/safe_clone.h
|
| +++ b/services/media/framework/safe_clone.h
|
| @@ -11,12 +11,12 @@
|
| namespace mojo {
|
| namespace media {
|
|
|
| -template<typename T>
|
| +template <typename T>
|
| std::unique_ptr<T> SafeClone(const std::unique_ptr<T>& t_ptr) {
|
| return t_ptr ? t_ptr.get()->Clone() : nullptr;
|
| }
|
|
|
| -template<typename T>
|
| +template <typename T>
|
| std::unique_ptr<std::vector<std::unique_ptr<T>>> SafeClone(
|
| const std::unique_ptr<std::vector<std::unique_ptr<T>>>& vec) {
|
| if (vec == nullptr) {
|
| @@ -37,4 +37,4 @@ std::unique_ptr<std::vector<std::unique_ptr<T>>> SafeClone(
|
| } // namespace media
|
| } // namespace mojo
|
|
|
| -#endif // SERVICES_MEDIA_FRAMEWORK_SAFE_CLONE_H_
|
| +#endif // SERVICES_MEDIA_FRAMEWORK_SAFE_CLONE_H_
|
|
|