Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: services/media/framework/safe_clone.h

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/media/framework/result.h ('k') | services/media/framework/stages/active_multistream_sink_stage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « services/media/framework/result.h ('k') | services/media/framework/stages/active_multistream_sink_stage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698