Index: mojo/services/media/common/cpp/circular_buffer_media_pipe_adapter.cc |
diff --git a/mojo/services/media/common/cpp/circular_buffer_media_pipe_adapter.cc b/mojo/services/media/common/cpp/circular_buffer_media_pipe_adapter.cc |
index 180577c12682ea878d43a69ee8c74de40cb0ec55..abf23f45d233306b01d51e23008941eab62d6575 100644 |
--- a/mojo/services/media/common/cpp/circular_buffer_media_pipe_adapter.cc |
+++ b/mojo/services/media/common/cpp/circular_buffer_media_pipe_adapter.cc |
@@ -115,9 +115,7 @@ void CircularBufferMediaPipeAdapter::Init(uint64_t size) { |
return; |
} |
- // TODO(johngro) : We should not have to send the buffer size, it should be an |
- // intrinsic property of the buffer itself and be query-able via the handle. |
- pipe_->SetBuffer(duplicated_handle.Pass(), buffer_size_, []() {}); |
+ pipe_->SetBuffer(duplicated_handle.Pass(), []() {}); |
} |
void CircularBufferMediaPipeAdapter::SetSignalCallback(SignalCbk cbk) { |