From d52501ed6e2c04aac9956791f9453a4433427912 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 15 Sep 2010 22:28:12 -0400 Subject: [PATCH] In changeset de02d0483a7f I inadvertently added "const" to the return types of some static functions in this .cpp file. Removing that. r=me, a=me --- widget/src/windows/GfxInfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widget/src/windows/GfxInfo.cpp b/widget/src/windows/GfxInfo.cpp index 73671918bdf7..2e2f65904486 100644 --- a/widget/src/windows/GfxInfo.cpp +++ b/widget/src/windows/GfxInfo.cpp @@ -72,7 +72,7 @@ GfxInfo::GetDWriteEnabled(PRBool *aEnabled) /* XXX: GfxInfo doesn't handle multiple GPUs. We should try to do that. Bug #591057 */ -static const nsresult GetKeyValue(const WCHAR* keyLocation, const WCHAR* keyName, nsAString& destString, int type) +static nsresult GetKeyValue(const WCHAR* keyLocation, const WCHAR* keyName, nsAString& destString, int type) { HKEY key; DWORD dwcbData; @@ -142,7 +142,7 @@ static const nsresult GetKeyValue(const WCHAR* keyLocation, const WCHAR* keyName // The driver ID is a string like PCI\VEN_15AD&DEV_0405&SUBSYS_040515AD, possibly // followed by &REV_XXXX. We uppercase the string, and strip the &REV_ part // from it, if found. -static const void normalizeDriverId(nsString& driverid) { +static void normalizeDriverId(nsString& driverid) { ToUpperCase(driverid); PRInt32 rev = driverid.Find(NS_LITERAL_CSTRING("&REV_")); if (rev != -1) { @@ -526,7 +526,7 @@ static const GfxDriverInfo driverInfo[] = { { 0, 0, allDevices, 0 } }; -static const bool +static bool ParseDriverVersion(nsAString& aVersion, PRUint64 *aNumericVersion) { int a, b, c, d;