From 91741705a52d8c74c3c775561ffdd3deee93a79c Mon Sep 17 00:00:00 2001 From: Idan Raiter Date: Fri, 7 Oct 2022 16:32:31 -0700 Subject: [PATCH] rutabaga: Use method instead of property In an earlier refactor, mistakenly called .properties instead of properties() BUG=b:244622199 TEST=downstream Change-Id: Ia34e6167ad04e9b42580193b9fcd6b4f8acaf1fd Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3939622 Commit-Queue: Idan Raiter Reviewed-by: Daniel Verkamp --- rutabaga_gfx/src/rutabaga_gralloc/vulkano_gralloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rutabaga_gfx/src/rutabaga_gralloc/vulkano_gralloc.rs b/rutabaga_gfx/src/rutabaga_gralloc/vulkano_gralloc.rs index 733f9571e8..112a2435bd 100644 --- a/rutabaga_gfx/src/rutabaga_gralloc/vulkano_gralloc.rs +++ b/rutabaga_gfx/src/rutabaga_gralloc/vulkano_gralloc.rs @@ -98,7 +98,7 @@ trait DeviceExt { impl DeviceExt for Device { fn get_id(&self) -> DeviceId { - let properties = self.physical_device().properties; + let properties = self.physical_device().properties(); DeviceId { device_uuid: properties.device_uuid.expect("Vulkan should support uuid"), driver_uuid: properties.driver_uuid.expect("Vulkan should support uuid"),