| Index: gpu/command_buffer/client/buffer_tracker_unittest.cc
|
| diff --git a/gpu/command_buffer/client/buffer_tracker_unittest.cc b/gpu/command_buffer/client/buffer_tracker_unittest.cc
|
| index e8d4d8183081db9aed8b131db134a826a1c02c3b..c1ed0b6dfa592a02eca9f6ed45630cb7b63c9cc2 100644
|
| --- a/gpu/command_buffer/client/buffer_tracker_unittest.cc
|
| +++ b/gpu/command_buffer/client/buffer_tracker_unittest.cc
|
| @@ -43,11 +43,6 @@ class MockClientCommandBufferImpl : public MockClientCommandBuffer {
|
| bool context_lost_;
|
| };
|
|
|
| -namespace {
|
| -void EmptyPoll() {
|
| -}
|
| -}
|
| -
|
| class BufferTrackerTest : public testing::Test {
|
| protected:
|
| static const int32 kNumCommandEntries = 400;
|
| @@ -58,8 +53,8 @@ class BufferTrackerTest : public testing::Test {
|
| command_buffer_.reset(new MockClientCommandBufferImpl());
|
| helper_.reset(new GLES2CmdHelper(command_buffer_.get()));
|
| helper_->Initialize(kCommandBufferSizeBytes);
|
| - mapped_memory_.reset(new MappedMemoryManager(
|
| - helper_.get(), base::Bind(&EmptyPoll), MappedMemoryManager::kNoLimit));
|
| + mapped_memory_.reset(
|
| + new MappedMemoryManager(helper_.get(), MappedMemoryManager::kNoLimit));
|
| buffer_tracker_.reset(new BufferTracker(mapped_memory_.get()));
|
| }
|
|
|
|
|