[fuchsia] Fix Fuchsia build
Commit fa023e8 added fidl::unowned_ptr calls that should be
fidl::unowned_str instead.
Change-Id: I93f15edaa596057ba89e219bc1ab352e02ae17f7
diff --git a/system/vulkan_enc/ResourceTracker.cpp b/system/vulkan_enc/ResourceTracker.cpp
index 023702e..98e3e03 100644
--- a/system/vulkan_enc/ResourceTracker.cpp
+++ b/system/vulkan_enc/ResourceTracker.cpp
@@ -1973,7 +1973,7 @@
constexpr uint32_t kVulkanPriority = 5;
const char* kName = "GoldfishSysmemShared";
- collection->SetName(kVulkanPriority, fidl::unowned_ptr(kName, strlen(kName)));
+ collection->SetName(kVulkanPriority, fidl::unowned_str(kName, strlen(kName)));
auto result = collection->SetConstraints(true, std::move(constraints));
if (!result.ok()) {
@@ -2004,7 +2004,7 @@
constexpr uint32_t kVulkanPriority = 5;
const char* kName = "GoldfishBufferSysmemShared";
- collection->SetName(kVulkanPriority, fidl::unowned_ptr(kName, strlen(kName)));
+ collection->SetName(kVulkanPriority, fidl::unowned_str(kName, strlen(kName)));
auto result = collection->SetConstraints(true, std::move(constraints));
if (!result.ok()) {