Index: trunk/src/gpu/command_buffer/client/fenced_allocator.h |
=================================================================== |
--- trunk/src/gpu/command_buffer/client/fenced_allocator.h (revision 260192) |
+++ trunk/src/gpu/command_buffer/client/fenced_allocator.h (working copy) |
@@ -9,7 +9,6 @@ |
#include <vector> |
-#include "base/bind.h" |
#include "base/logging.h" |
#include "gpu/command_buffer/common/types.h" |
#include "gpu/gpu_export.h" |
@@ -36,8 +35,7 @@ |
// 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); |
+ CommandBufferHelper *helper); |
~FencedAllocator(); |
@@ -138,7 +136,6 @@ |
Offset AllocInBlock(BlockIndex index, unsigned int size); |
CommandBufferHelper *helper_; |
- base::Closure poll_callback_; |
Container blocks_; |
size_t bytes_in_use_; |
@@ -151,9 +148,8 @@ |
public: |
FencedAllocatorWrapper(unsigned int size, |
CommandBufferHelper* helper, |
- const base::Closure& poll_callback, |
void* base) |
- : allocator_(size, helper, poll_callback), |
+ : allocator_(size, helper), |
base_(base) { } |
// Allocates a block of memory. If the buffer is out of directly available |