From 94a892fcbf6216f7afb2825c29ab07b5297f79df Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 20 Dec 2023 07:34:04 +0100 Subject: [PATCH] Bug 1868901 --- widget/GfxDriverInfo.cpp | 2 +- widget/GfxDriverInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/GfxDriverInfo.cpp b/widget/GfxDriverInfo.cpp index 6f9a74a4f4..6d51c1587a 100644 --- a/widget/GfxDriverInfo.cpp +++ b/widget/GfxDriverInfo.cpp @@ -15,7 +15,7 @@ uint64_t GfxDriverInfo::allDriverVersions = ~(uint64_t(0)); GfxDeviceFamily* const GfxDriverInfo::allDevices = nullptr; GfxDeviceFamily* GfxDriverInfo::mDeviceFamilies[DeviceFamilyMax]; -nsAString* GfxDriverInfo::mDeviceVendors[DeviceVendorMax]; +nsString* GfxDriverInfo::mDeviceVendors[DeviceVendorMax]; GfxDriverInfo::GfxDriverInfo() : mOperatingSystem(OperatingSystem::Unknown), diff --git a/widget/GfxDriverInfo.h b/widget/GfxDriverInfo.h index 119976bcbc..27763db1c1 100644 --- a/widget/GfxDriverInfo.h +++ b/widget/GfxDriverInfo.h @@ -165,7 +165,7 @@ struct GfxDriverInfo static GfxDeviceFamily* mDeviceFamilies[DeviceFamilyMax]; static const nsAString& GetDeviceVendor(DeviceVendor id); - static nsAString* mDeviceVendors[DeviceVendorMax]; + static nsString* mDeviceVendors[DeviceVendorMax]; nsString mModel, mHardware, mProduct, mManufacturer;