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

Unified Diff: services/media/framework_mojo/mojo_consumer.cc

Issue 1823833003: Take advantage of MojoGetBufferInformation (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase and fix a type mismatch which the android build caught 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_mojo/mojo_consumer.h ('k') | services/media/framework_mojo/mojo_producer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework_mojo/mojo_consumer.cc
diff --git a/services/media/framework_mojo/mojo_consumer.cc b/services/media/framework_mojo/mojo_consumer.cc
index 2efb5e31e1ccf38e3b8bec7525ef6ae72b55af5e..37f303235df55c9305fb892caeab7e54a4195c5d 100644
--- a/services/media/framework_mojo/mojo_consumer.cc
+++ b/services/media/framework_mojo/mojo_consumer.cc
@@ -37,9 +37,8 @@ void MojoConsumer::SetFlushRequestedCallback(
void MojoConsumer::SetBuffer(
ScopedSharedBufferHandle buffer,
- uint64_t size,
const SetBufferCallback& callback) {
- buffer_.InitFromHandle(buffer.Pass(), size);
+ buffer_.InitFromHandle(buffer.Pass());
callback.Run();
}
@@ -116,5 +115,5 @@ void MojoConsumer::PacketImpl::Release() {
delete this;
}
-} // namespace media
-} // namespace mojo
+} // namespace media
+} // namespace mojo
« no previous file with comments | « services/media/framework_mojo/mojo_consumer.h ('k') | services/media/framework_mojo/mojo_producer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698