helium/core/component-schema: fix file path construction on windows

This commit is contained in:
wukko
2025-10-08 14:34:17 +06:00
parent 9fc0ab1720
commit 7022a9e02e
@@ -99,7 +99,7 @@
+ }
+
+ if (!manager->IsComponentExtensionResource(
+ extension->path(), base::FilePath(path), &resource_id)) {
+ extension->path(), base::FilePath::FromUTF8Unsafe(path), &resource_id)) {
+ return base::unexpected(base::StringPrintf(
+ "%s/%s is not a component extension resource",
+ base::UTF16ToUTF8(extension->path().LossyDisplayName()), path));