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

Unified Diff: services/media/framework/metadata.cc

Issue 1678433002: Motown: Remove LPCM optimizations, fix prepare, add flush, add ActiveMultistreamSink model/stage (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Sync Created 4 years, 10 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/metadata.h ('k') | services/media/framework/models/active_multistream_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework/metadata.cc
diff --git a/services/media/framework/metadata.cc b/services/media/framework/metadata.cc
index d62b4b78f0a996dd1e0ceab8add1e3f5d9e57ea0..bd39df822b75e46281589c666c2e3e0f68e87a49 100644
--- a/services/media/framework/metadata.cc
+++ b/services/media/framework/metadata.cc
@@ -8,7 +8,7 @@ namespace mojo {
namespace media {
// static
-MetadataPtr Metadata::Create(
+std::unique_ptr<Metadata> Metadata::Create(
uint64_t duration_ns,
const std::string& title,
const std::string& artist,
@@ -16,7 +16,7 @@ MetadataPtr Metadata::Create(
const std::string& publisher,
const std::string& genre,
const std::string& composer) {
- return MetadataPtr(new Metadata(
+ return std::unique_ptr<Metadata>(new Metadata(
duration_ns,
title,
artist,
« no previous file with comments | « services/media/framework/metadata.h ('k') | services/media/framework/models/active_multistream_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698