OLD | NEW |
| (Empty) |
1 // Copyright 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 "cc/trees/proxy.h" | |
6 | |
7 #include "base/single_thread_task_runner.h" | |
8 #include "cc/trees/blocking_task_runner.h" | |
9 | |
10 namespace cc { | |
11 | |
12 Proxy::Proxy(scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | |
13 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner) | |
14 : TaskRunnerProvider(main_task_runner, impl_task_runner) {} | |
15 | |
16 Proxy::~Proxy() { | |
17 DCHECK(IsMainThread()); | |
18 } | |
19 | |
20 } // namespace cc | |
OLD | NEW |