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

Unified Diff: cc/trees/proxy_impl.cc

Issue 1840223002: cc: Remove BeginFrameSource::Create methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test BFS and mus too Created 4 years, 9 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/test/scheduler_test_common.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index db52685a8acf1446dc310a9a37a524772ba9926e..a994e85579a44da0f5f53bee3b1c0d8fdacb03a3 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -82,14 +82,14 @@ ProxyImpl::ProxyImpl(ChannelImpl* channel_impl,
BeginFrameSource* frame_source = external_begin_frame_source_.get();
if (!scheduler_settings.throttle_frame_production) {
// Unthrottled source takes precedence over external sources.
- unthrottled_begin_frame_source_ = BackToBackBeginFrameSource::Create(
- task_runner_provider_->ImplThreadTaskRunner());
+ unthrottled_begin_frame_source_.reset(new BackToBackBeginFrameSource(
+ task_runner_provider_->ImplThreadTaskRunner()));
frame_source = unthrottled_begin_frame_source_.get();
}
if (!frame_source) {
- synthetic_begin_frame_source_ = SyntheticBeginFrameSource::Create(
+ synthetic_begin_frame_source_.reset(new SyntheticBeginFrameSource(
task_runner_provider_->ImplThreadTaskRunner(),
- BeginFrameArgs::DefaultInterval());
+ BeginFrameArgs::DefaultInterval()));
frame_source = synthetic_begin_frame_source_.get();
}
scheduler_ =
« no previous file with comments | « cc/test/scheduler_test_common.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698