1// Copyright (c) 2011 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "gpu/command_buffer/common/command_buffer_mock.h" 6 7namespace gpu { 8 9MockCommandBuffer::MockCommandBuffer() { 10 ON_CALL(*this, GetTransferBuffer(testing::_)) 11 .WillByDefault(testing::Return(scoped_refptr<gpu::Buffer>())); 12} 13 14MockCommandBuffer::~MockCommandBuffer() {} 15 16} // namespace gpu 17