OLD | NEW |
---|---|
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 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 | 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 "cc/trees/proxy.h" | 5 #include "cc/trees/proxy.h" |
6 | 6 |
7 #include "base/message_loop/message_loop_proxy.h" | 7 #include "base/message_loop/message_loop_proxy.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "cc/trees/blocking_task_runner.h" | 9 #include "cc/trees/blocking_task_runner.h" |
10 | 10 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 main_thread_id_(base::PlatformThread::CurrentId()), | 82 main_thread_id_(base::PlatformThread::CurrentId()), |
83 impl_thread_is_overridden_(false), | 83 impl_thread_is_overridden_(false), |
84 is_main_thread_blocked_(false) { | 84 is_main_thread_blocked_(false) { |
85 #endif | 85 #endif |
86 } | 86 } |
87 | 87 |
88 Proxy::~Proxy() { | 88 Proxy::~Proxy() { |
89 DCHECK(IsMainThread()); | 89 DCHECK(IsMainThread()); |
90 } | 90 } |
91 | 91 |
92 void Proxy::SetChildrenNeedBeginFrames(bool children_need_begin_frames) { | |
brianderson
2014/11/19 19:03:34
Thought this was pure virtual in Proxy. Does this
simonhong
2014/11/20 16:24:09
Oops. my mistake.
Removed.
| |
93 NOTREACHED() << "Only used by SingleThreadProxy"; | |
94 } | |
95 | |
92 } // namespace cc | 96 } // namespace cc |
OLD | NEW |