blob: 65298fdc40754698895cae3ea1ee1f79afa544b9 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/media/framework_mojo/mojo_allocator.h"
namespace mojo {
namespace media {
MojoAllocator::~MojoAllocator() {}
void* MojoAllocator::AllocatePayloadBuffer(size_t size) {
return AllocateRegion(size);
}
void MojoAllocator::ReleasePayloadBuffer(void* buffer) {
ReleaseRegion(buffer);
}
} // namespace media
} // namespace mojo