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

Unified Diff: services/gfx/compositor/scene_impl.cc

Issue 1997513002: Mozart: Generalize frame scheduling. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-jank2
Patch Set: add comments Created 4 years, 7 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 | « services/gfx/compositor/scene_impl.h ('k') | services/gfx/compositor/scene_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/scene_impl.cc
diff --git a/services/gfx/compositor/scene_impl.cc b/services/gfx/compositor/scene_impl.cc
index 5db165cd110d71fbde3e083c104a5bafbea9ece1..64abed46bc25dd7ce42daabac98cc7b664be8634 100644
--- a/services/gfx/compositor/scene_impl.cc
+++ b/services/gfx/compositor/scene_impl.cc
@@ -42,14 +42,14 @@ void SceneImpl::Publish(mojo::gfx::composition::SceneMetadataPtr metadata) {
}
void SceneImpl::GetScheduler(
- mojo::InterfaceRequest<mojo::gfx::composition::SceneScheduler>
+ mojo::InterfaceRequest<mojo::gfx::composition::FrameScheduler>
scheduler_request) {
scheduler_bindings_.AddBinding(this, scheduler_request.Pass());
}
void SceneImpl::ScheduleFrame(const ScheduleFrameCallback& callback) {
engine_->ScheduleFrame(state_,
- base::Bind(&RunScheduleFrameCallback, callback));
+ base::Bind(RunScheduleFrameCallback, callback));
}
} // namespace compositor
« no previous file with comments | « services/gfx/compositor/scene_impl.h ('k') | services/gfx/compositor/scene_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698