Index: gpu/command_buffer/common/command_buffer_mock.h |
diff --git a/gpu/command_buffer/common/command_buffer_mock.h b/gpu/command_buffer/common/command_buffer_mock.h |
index eb78b8372ad0cab86b3dabcddc1f45a3b6d8cefb..97cd3cf8bf8f540bd59620b5babd8d709bfcd7bb 100644 |
--- a/gpu/command_buffer/common/command_buffer_mock.h |
+++ b/gpu/command_buffer/common/command_buffer_mock.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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. |
@@ -14,12 +14,8 @@ namespace gpu { |
// API to manage the put and get pointers. |
class MockCommandBuffer : public CommandBuffer { |
public: |
- MockCommandBuffer() { |
- ON_CALL(*this, GetRingBuffer()) |
- .WillByDefault(testing::Return(Buffer())); |
- ON_CALL(*this, GetTransferBuffer(testing::_)) |
- .WillByDefault(testing::Return(Buffer())); |
- } |
+ MockCommandBuffer(); |
+ virtual ~MockCommandBuffer(); |
MOCK_METHOD1(Initialize, bool(int32 size)); |
MOCK_METHOD0(GetRingBuffer, Buffer()); |