[fuchsia] Renamed PresentationInfo (#4702)

This commit is contained in:
mikejurka 2018-02-22 21:34:48 -08:00 committed by GitHub
parent 0cc0784dd5
commit 44dbdbe3ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ SessionConnection::SessionConnection(scenic::SceneManagerPtr scene_manager,
root_node_.Bind(std::move(import_token));
root_node_.SetEventMask(scenic::kMetricsEventMask);
session_.Present(0, [](scenic::PresentationInfoPtr info) {});
session_.Present(0, [](ui_mozart::PresentationInfoPtr info) {});
present_callback_ =
std::bind(&SessionConnection::OnPresent, this, std::placeholders::_1);
@ -80,7 +80,7 @@ void SessionConnection::Present(flow::CompositorContext::ScopedFrame& frame,
EnqueueClearOps();
}
void SessionConnection::OnPresent(scenic::PresentationInfoPtr info) {
void SessionConnection::OnPresent(ui_mozart::PresentationInfoPtr info) {
ASSERT_IS_GPU_THREAD;
auto callback = pending_on_present_callback_;
pending_on_present_callback_ = nullptr;

View File

@ -61,7 +61,7 @@ class SessionConnection {
void EnqueueClearOps();
void OnPresent(scenic::PresentationInfoPtr info);
void OnPresent(ui_mozart::PresentationInfoPtr info);
FXL_DISALLOW_COPY_AND_ASSIGN(SessionConnection);
};