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

Unified Diff: components/mus/surfaces/top_level_display_client.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/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/top_level_display_client.cc
diff --git a/components/mus/surfaces/top_level_display_client.cc b/components/mus/surfaces/top_level_display_client.cc
index c4f1de1941e2bbd82d80f7ff580f63e1a83995fa..a62ae8be5c60c54dab4a25b2014b04e93746b804 100644
--- a/components/mus/surfaces/top_level_display_client.cc
+++ b/components/mus/surfaces/top_level_display_client.cc
@@ -47,8 +47,8 @@ TopLevelDisplayClient::TopLevelDisplayClient(
int max_frames_pending = output_surface->capabilities().max_frames_pending;
DCHECK_GT(max_frames_pending, 0);
- synthetic_frame_source_ = cc::SyntheticBeginFrameSource::Create(
- task_runner_.get(), cc::BeginFrameArgs::DefaultInterval());
+ synthetic_frame_source_.reset(new cc::SyntheticBeginFrameSource(
+ task_runner_.get(), cc::BeginFrameArgs::DefaultInterval()));
scheduler_.reset(
new cc::DisplayScheduler(display_.get(), synthetic_frame_source_.get(),
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698