diff options
author | Moonchild <moonchild@palemoon.org> | 2021-09-30 02:11:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 14:38:31 +0200 |
commit | a7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a (patch) | |
tree | 521fbd6d7c6b866fbc8d58aa538af14312a57667 /widget | |
parent | cdff23ad0b3e0be2121c77a5b2415b15c7c4f0b2 (diff) | |
download | uxp-a7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a.tar.gz |
No issue - Clean up some obsolete/archaic code paths.
Diffstat (limited to 'widget')
-rw-r--r-- | widget/GfxInfoX11.cpp | 1 | ||||
-rw-r--r-- | widget/gtk/gtkdrawing.h | 3 | ||||
-rw-r--r-- | widget/windows/nsWindow.cpp | 4 |
3 files changed, 3 insertions, 5 deletions
diff --git a/widget/GfxInfoX11.cpp b/widget/GfxInfoX11.cpp index af374dc44a..9a5065eb65 100644 --- a/widget/GfxInfoX11.cpp +++ b/widget/GfxInfoX11.cpp @@ -321,7 +321,6 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature, // this is necessary as they're still using the slightly outdated 190.42 driver. // this isn't a huge risk, as at least this is the exact setting in which we do continuous testing, // and this only affects GeForce 9400 cards on linux on this precise driver version, which is very few users. - // We do the same thing on Windows XP, see in widget/windows/GfxInfo.cpp if (mIsNVIDIA && !strcmp(mRenderer.get(), "GeForce 9400/PCI/SSE2") && !strcmp(mVersion.get(), "3.2.0 NVIDIA 190.42")) diff --git a/widget/gtk/gtkdrawing.h b/widget/gtk/gtkdrawing.h index 7db5db043a..8ad456911c 100644 --- a/widget/gtk/gtkdrawing.h +++ b/widget/gtk/gtkdrawing.h @@ -8,8 +8,7 @@ * * gtkdrawing provides an API for rendering GTK widgets in the * current theme to a pixmap or window, without requiring an actual - * widget instantiation, similar to the Macintosh Appearance Manager - * or Windows XP's DrawThemeBackground() API. + * widget instantiation. */ #ifndef _GTK_DRAWING_H_ diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp index b9c3ea1548..1a18b9ecaf 100644 --- a/widget/windows/nsWindow.cpp +++ b/widget/windows/nsWindow.cpp @@ -903,8 +903,8 @@ nsWindow::Create(nsIWidget* aParent, SubclassWindow(TRUE); - // Starting with Windows XP, a process always runs within a terminal services - // session. In order to play nicely with RDP, fast user switching, and the + // A process always runs within a terminal services session. + // In order to play nicely with RDP, fast user switching, and the // lock screen, we should be handling WM_WTSSESSION_CHANGE. We must register // our HWND in order to receive this message. DebugOnly<BOOL> wtsRegistered = ::WTSRegisterSessionNotification(mWnd, |