OLD | NEW |
| (Empty) |
1 // Copyright 2015 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 "cc/test/test_hooks.h" | |
6 | |
7 namespace cc { | |
8 | |
9 TestHooks::TestHooks() {} | |
10 | |
11 TestHooks::~TestHooks() {} | |
12 | |
13 DrawResult TestHooks::PrepareToDrawOnThread( | |
14 LayerTreeHostImpl* host_impl, | |
15 LayerTreeHostImpl::FrameData* frame_data, | |
16 DrawResult draw_result) { | |
17 return draw_result; | |
18 } | |
19 | |
20 void TestHooks::CreateResourceAndTileTaskWorkerPool( | |
21 LayerTreeHostImpl* host_impl, | |
22 scoped_ptr<TileTaskWorkerPool>* tile_task_worker_pool, | |
23 scoped_ptr<ResourcePool>* resource_pool) { | |
24 host_impl->LayerTreeHostImpl::CreateResourceAndTileTaskWorkerPool( | |
25 tile_task_worker_pool, resource_pool); | |
26 } | |
27 | |
28 } // namespace cc | |
OLD | NEW |