Index: gpu/command_buffer/client/fenced_allocator.h |
diff --git a/gpu/command_buffer/client/fenced_allocator.h b/gpu/command_buffer/client/fenced_allocator.h |
index c19fbbde26a6ad44bf5da63aa469e0e8ac8b22bb..95dcccec81b103c9779d3812f6be6194e1e54d1d 100644 |
--- a/gpu/command_buffer/client/fenced_allocator.h |
+++ b/gpu/command_buffer/client/fenced_allocator.h |
@@ -40,9 +40,7 @@ class GPU_EXPORT FencedAllocator { |
// Creates a FencedAllocator. Note that the size of the buffer is passed, but |
// not its base address: everything is handled as offsets into the buffer. |
- FencedAllocator(unsigned int size, |
- CommandBufferHelper *helper, |
- const base::Closure& poll_callback); |
+ FencedAllocator(unsigned int size, CommandBufferHelper* helper); |
~FencedAllocator(); |
@@ -146,7 +144,6 @@ class GPU_EXPORT FencedAllocator { |
Offset AllocInBlock(BlockIndex index, unsigned int size); |
CommandBufferHelper *helper_; |
- base::Closure poll_callback_; |
Container blocks_; |
size_t bytes_in_use_; |
@@ -159,10 +156,8 @@ class FencedAllocatorWrapper { |
public: |
FencedAllocatorWrapper(unsigned int size, |
CommandBufferHelper* helper, |
- const base::Closure& poll_callback, |
void* base) |
- : allocator_(size, helper, poll_callback), |
- base_(base) { } |
+ : allocator_(size, helper), base_(base) {} |
// Allocates a block of memory. If the buffer is out of directly available |
// memory, this function may wait until memory that was freed "pending a |