| Index: gpu/command_buffer/common/id_allocator.cc
|
| diff --git a/gpu/command_buffer/common/id_allocator.cc b/gpu/command_buffer/common/id_allocator.cc
|
| index 7802e1766beac57ee2b0575b4a510587f761f003..507b14e9af19bfdd298f5b93362dc099f428c5f2 100644
|
| --- a/gpu/command_buffer/common/id_allocator.cc
|
| +++ b/gpu/command_buffer/common/id_allocator.cc
|
| @@ -10,9 +10,6 @@
|
|
|
| namespace gpu {
|
|
|
| -IdAllocatorInterface::~IdAllocatorInterface() {
|
| -}
|
| -
|
| IdAllocator::IdAllocator() {}
|
|
|
| IdAllocator::~IdAllocator() {}
|
| @@ -89,34 +86,4 @@ ResourceId IdAllocator::FindFirstUnusedId() const {
|
| return id;
|
| }
|
|
|
| -NonReusedIdAllocator::NonReusedIdAllocator() : last_id_(0) {
|
| -}
|
| -
|
| -NonReusedIdAllocator::~NonReusedIdAllocator() {
|
| -}
|
| -
|
| -ResourceId NonReusedIdAllocator::AllocateID() {
|
| - return ++last_id_;
|
| -}
|
| -
|
| -ResourceId NonReusedIdAllocator::AllocateIDAtOrAbove(ResourceId desired_id) {
|
| - if (desired_id > last_id_)
|
| - last_id_ = desired_id;
|
| -
|
| - return ++last_id_;
|
| -}
|
| -
|
| -bool NonReusedIdAllocator::MarkAsUsed(ResourceId id) {
|
| - NOTREACHED();
|
| - return false;
|
| -}
|
| -
|
| -void NonReusedIdAllocator::FreeID(ResourceId id) {
|
| -}
|
| -
|
| -bool NonReusedIdAllocator::InUse(ResourceId id) const {
|
| - NOTREACHED();
|
| - return false;
|
| -}
|
| -
|
| } // namespace gpu
|
|
|