| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "gpu/command_buffer/service/error_state_mock.h" | 5 #include "../client/gpu_memory_buffer_mock.h" |
| 6 | 6 |
| 7 namespace gpu { | 7 namespace gpu { |
| 8 namespace gles2 { | |
| 9 | 8 |
| 10 MockErrorState::MockErrorState() | 9 GpuMemoryBufferMock::GpuMemoryBufferMock(int width, int height) { |
| 11 : ErrorState() {} | 10 } |
| 12 | 11 |
| 13 MockErrorState::~MockErrorState() {} | 12 GpuMemoryBufferMock::~GpuMemoryBufferMock() { |
| 13 Die(); |
| 14 } |
| 14 | 15 |
| 15 } // namespace gles2 | |
| 16 } // namespace gpu | 16 } // namespace gpu |
| 17 | |
| OLD | NEW |