[component] Remove CreateFromStartupInfo clients

This function is being replaced by CreateFromStartupInfo.

Test: No behavior change.
Change-Id: I590bf95d01f72099d16b2a683bab6d518a93a941
diff --git a/bin/auth/tests/token_manager_integration/dev_token_mgr_test.cc b/bin/auth/tests/token_manager_integration/dev_token_mgr_test.cc
index f227d36..1576d61 100644
--- a/bin/auth/tests/token_manager_integration/dev_token_mgr_test.cc
+++ b/bin/auth/tests/token_manager_integration/dev_token_mgr_test.cc
@@ -427,7 +427,7 @@
 
   {
     async::Loop loop(&kAsyncLoopConfigAttachToThread);
-    auto context = component::StartupContext::CreateFromStartupInfoNotChecked();
+    auto context = component::StartupContext::CreateFromStartupInfo();
     test_runner::ReportResult(argv[0], context.get(), listener.GetResults());
   }
 
diff --git a/bin/guest/cli/main.cc b/bin/guest/cli/main.cc
index b86b838..dd768d5 100644
--- a/bin/guest/cli/main.cc
+++ b/bin/guest/cli/main.cc
@@ -114,7 +114,7 @@
 int main(int argc, const char** argv) {
   fit::closure func;
   async::Loop loop(&kAsyncLoopConfigAttachToThread);
-  auto context = component::StartupContext::CreateFromStartupInfoNotChecked();
+  auto context = component::StartupContext::CreateFromStartupInfo();
   if (!parse_args(argc, argv, &loop, context.get(), &func)) {
     usage();
     return ZX_ERR_INVALID_ARGS;
diff --git a/bin/logger/tests/cpp/logger_tests.cc b/bin/logger/tests/cpp/logger_tests.cc
index 3ea0ff9..ca398f5 100644
--- a/bin/logger/tests/cpp/logger_tests.cc
+++ b/bin/logger/tests/cpp/logger_tests.cc
@@ -125,7 +125,7 @@
   ASSERT_EQ(syslog::InitLogger({tag}), ZX_OK);
   FX_LOGS(INFO) << "my message";
   auto startup_context =
-      component::StartupContext::CreateFromStartupInfoNotChecked();
+      component::StartupContext::CreateFromStartupInfo();
   ASSERT_TRUE(log_listener.ConnectToLogger(startup_context.get(), pid));
   auto& logs = log_listener.GetLogs();
   EXPECT_TRUE(RunLoopWithTimeoutOrUntil([&logs] { return logs.size() >= 1u; },
diff --git a/bin/tz-util/tz-util.cc b/bin/tz-util/tz-util.cc
index 807a543..ac63d52 100644
--- a/bin/tz-util/tz-util.cc
+++ b/bin/tz-util/tz-util.cc
@@ -90,7 +90,7 @@
   }
   // loop is needed by StartupContext.
   async::Loop loop(&kAsyncLoopConfigAttachToThread);
-  TzUtil app(component::StartupContext::CreateFromStartupInfoNotChecked());
+  TzUtil app(component::StartupContext::CreateFromStartupInfo());
   app.Run(command_line);
   return 0;
 }
diff --git a/examples/media/simple_sine_sync/main.cc b/examples/media/simple_sine_sync/main.cc
index 4ad726b..bfcf24b 100644
--- a/examples/media/simple_sine_sync/main.cc
+++ b/examples/media/simple_sine_sync/main.cc
@@ -27,7 +27,7 @@
   // loop is needed by StartupContext.
   async::Loop loop(&kAsyncLoopConfigAttachToThread);
   examples::MediaApp media_app(
-      component::StartupContext::CreateFromStartupInfoNotChecked());
+      component::StartupContext::CreateFromStartupInfo());
 
   if (command_line.HasOption("v") || command_line.HasOption("verbose")) {
     media_app.set_verbose(true);
diff --git a/lib/profiler/fuchsia/profiler_log_listener.cc b/lib/profiler/fuchsia/profiler_log_listener.cc
index d3d8d0c..f070deb 100644
--- a/lib/profiler/fuchsia/profiler_log_listener.cc
+++ b/lib/profiler/fuchsia/profiler_log_listener.cc
@@ -175,7 +175,7 @@
     });
 
     auto startup_context =
-        component::StartupContext::CreateFromStartupInfoNotChecked();
+        component::StartupContext::CreateFromStartupInfo();
     log_listener->ConnectToLogger(startup_context.get(), GetCurrentProcessKoid());
 
     // Trigger mmap log