summaryrefslogtreecommitdiff
path: root/chromium/skia/ext/test_fonts_fuchsia.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/skia/ext/test_fonts_fuchsia.cc')
-rw-r--r--chromium/skia/ext/test_fonts_fuchsia.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chromium/skia/ext/test_fonts_fuchsia.cc b/chromium/skia/ext/test_fonts_fuchsia.cc
index b9bb644c38c..509cfb43573 100644
--- a/chromium/skia/ext/test_fonts_fuchsia.cc
+++ b/chromium/skia/ext/test_fonts_fuchsia.cc
@@ -10,8 +10,8 @@
#include <lib/fidl/cpp/interface_handle.h>
#include <lib/sys/cpp/component_context.h>
-#include "base/fuchsia/default_context.h"
#include "base/fuchsia/file_utils.h"
+#include "base/fuchsia/process_context.h"
#include "base/logging.h"
#include "base/no_destructor.h"
#include "base/path_service.h"
@@ -46,8 +46,7 @@ fuchsia::fonts::ProviderSyncPtr RunTestProviderWithTestFonts(
font_provider_services_dir.NewRequest().TakeChannel();
fuchsia::sys::LauncherSyncPtr launcher;
- base::fuchsia::ComponentContextForCurrentProcess()->svc()->Connect(
- launcher.NewRequest());
+ base::ComponentContextForProcess()->svc()->Connect(launcher.NewRequest());
launcher->CreateComponent(std::move(launch_info),
controller_out->NewRequest());