Skip to content

Commit 44dbdbe

Browse files
authored
[fuchsia] Renamed PresentationInfo (flutter#4702)
1 parent 0cc0784 commit 44dbdbe

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎content_handler/session_connection.cc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ SessionConnection::SessionConnection(scenic::SceneManagerPtr scene_manager,
2222

2323
root_node_.Bind(std::move(import_token));
2424
root_node_.SetEventMask(scenic::kMetricsEventMask);
25-
session_.Present(0, [](scenic::PresentationInfoPtr info) {});
25+
session_.Present(0, [](ui_mozart::PresentationInfoPtr info) {});
2626

2727
present_callback_ =
2828
std::bind(&SessionConnection::OnPresent, this, std::placeholders::_1);
@@ -80,7 +80,7 @@ void SessionConnection::Present(flow::CompositorContext::ScopedFrame& frame,
8080
EnqueueClearOps();
8181
}
8282

83-
void SessionConnection::OnPresent(scenic::PresentationInfoPtr info) {
83+
void SessionConnection::OnPresent(ui_mozart::PresentationInfoPtr info) {
8484
ASSERT_IS_GPU_THREAD;
8585
auto callback = pending_on_present_callback_;
8686
pending_on_present_callback_ = nullptr;

‎content_handler/session_connection.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class SessionConnection {
6161

6262
void EnqueueClearOps();
6363

64-
void OnPresent(scenic::PresentationInfoPtr info);
64+
void OnPresent(ui_mozart::PresentationInfoPtr info);
6565

6666
FXL_DISALLOW_COPY_AND_ASSIGN(SessionConnection);
6767
};

0 commit comments

Comments
 (0)