mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
helium/core/component-schema: fix file path construction on windows
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user