Skip to content

Commit

Permalink
[fuchsia] Renamed PresentationInfo (flutter#4702)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejurka authored Feb 23, 2018
1 parent 0cc0784 commit 44dbdbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions content_handler/session_connection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion content_handler/session_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit 44dbdbe

Please sign in to comment.