Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1057)

Unified Diff: cc/trees/threaded_channel.cc

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Add back comment, remove more febfs includes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/threaded_channel.h ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/threaded_channel.cc
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc
index f860ad756d117b870693bca509a986ed41182e9b..7ff17e1cccb629129bb98f0b88b57c0f2fd39bff 100644
--- a/cc/trees/threaded_channel.cc
+++ b/cc/trees/threaded_channel.cc
@@ -148,8 +148,7 @@ void ThreadedChannel::NotifyReadyToCommitOnImpl(
}
void ThreadedChannel::SynchronouslyInitializeImpl(
- LayerTreeHostInProcess* layer_tree_host,
- std::unique_ptr<BeginFrameSource> external_begin_frame_source) {
+ LayerTreeHostInProcess* layer_tree_host) {
TRACE_EVENT0("cc", "ThreadChannel::SynchronouslyInitializeImpl");
DCHECK(IsMainThread());
{
@@ -158,8 +157,7 @@ void ThreadedChannel::SynchronouslyInitializeImpl(
ImplThreadTaskRunner()->PostTask(
FROM_HERE,
base::Bind(&ThreadedChannel::InitializeImplOnImpl,
- base::Unretained(this), &completion, layer_tree_host,
- base::Passed(&external_begin_frame_source)));
+ base::Unretained(this), &completion, layer_tree_host));
completion.Wait();
}
main().initialized = true;
@@ -262,22 +260,18 @@ void ThreadedChannel::BeginMainFrame(
std::unique_ptr<ProxyImpl> ThreadedChannel::CreateProxyImpl(
ChannelImpl* channel_impl,
LayerTreeHostInProcess* layer_tree_host,
- TaskRunnerProvider* task_runner_provider,
- std::unique_ptr<BeginFrameSource> external_begin_frame_source) {
+ TaskRunnerProvider* task_runner_provider) {
DCHECK(IsImplThread());
return base::MakeUnique<ProxyImpl>(channel_impl, layer_tree_host,
- task_runner_provider,
- std::move(external_begin_frame_source));
+ task_runner_provider);
}
void ThreadedChannel::InitializeImplOnImpl(
CompletionEvent* completion,
- LayerTreeHostInProcess* layer_tree_host,
- std::unique_ptr<BeginFrameSource> external_begin_frame_source) {
+ LayerTreeHostInProcess* layer_tree_host) {
DCHECK(IsImplThread());
impl().proxy_impl =
- CreateProxyImpl(this, layer_tree_host, task_runner_provider_,
- std::move(external_begin_frame_source));
+ CreateProxyImpl(this, layer_tree_host, task_runner_provider_);
impl().proxy_impl_weak_factory =
base::MakeUnique<base::WeakPtrFactory<ProxyImpl>>(
impl().proxy_impl.get());
« no previous file with comments | « cc/trees/threaded_channel.h ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698