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

Unified Diff: cc/trees/proxy_main.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/proxy_main.h ('k') | cc/trees/remote_channel_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_main.cc
diff --git a/cc/trees/proxy_main.cc b/cc/trees/proxy_main.cc
index d9008a8223aa3d3076e43dc19c31c1a19afcd2db..e02a86b87765e428cf17585073ab7a73272aa2ec 100644
--- a/cc/trees/proxy_main.cc
+++ b/cc/trees/proxy_main.cc
@@ -349,17 +349,13 @@ void ProxyMain::MainThreadHasStoppedFlinging() {
channel_main_->MainThreadHasStoppedFlingingOnImpl();
}
-void ProxyMain::Start(
- std::unique_ptr<BeginFrameSource> external_begin_frame_source) {
+void ProxyMain::Start() {
DCHECK(IsMainThread());
DCHECK(layer_tree_host_->IsThreaded() || layer_tree_host_->IsRemoteServer());
DCHECK(channel_main_);
- DCHECK(!layer_tree_host_->GetSettings().use_external_begin_frame_source ||
- external_begin_frame_source);
// Create LayerTreeHostImpl.
- channel_main_->SynchronouslyInitializeImpl(
- layer_tree_host_, std::move(external_begin_frame_source));
+ channel_main_->SynchronouslyInitializeImpl(layer_tree_host_);
started_ = true;
}
« no previous file with comments | « cc/trees/proxy_main.h ('k') | cc/trees/remote_channel_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698