Update Fuchsia ComponentContext constructor call to renamed, but equvalent, method (flutter/engine#18067)

This change is part of an LSC in Fuchsia, and is a functionality no-op.

Fixes fxbug.dev/50759

Co-authored-by: Gabriel Schine <thatguy@google.com>
This commit is contained in:
gabeschine
2020-05-01 15:04:58 -07:00
committed by GitHub
parent 0e1cdfdcf5
commit c7e19335c9

View File

@@ -22,7 +22,7 @@ namespace flutter_runner_test {
class SessionConnectionTest : public ::testing::Test {
public:
void SetUp() override {
context_ = sys::ComponentContext::Create();
context_ = sys::ComponentContext::CreateAndServeOutgoingDirectory();
scenic_ = context_->svc()->Connect<fuchsia::ui::scenic::Scenic>();
presenter_ = context_->svc()->Connect<fuchsia::ui::policy::Presenter>();