MozillaFirefox/mozilla-bmo1907511.patch
Wolfgang Rosenauer f61f955454 - Mozilla Firefox 134.0.1
* Fixed UI hangs happening on YouTube and Google Docs in some situations
    (bmo#1939295)
  * Fixed a startup crash affecting some users upgrading from Firefox 133
    (bmo#1941134)
  * Fixed an issue where search engines selection menus and context
    menus could be broken if a user had previously reverted to an
    earlier version (bmo#1940533)
- raised required rust version to 1.81

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1197
2025-01-17 12:57:47 +00:00

30 lines
909 B
Diff

# HG changeset patch
# User stransky <stransky@redhat.com>
# Date 1720807971 0
# Node ID d8a0164db5db7090fd7549b03dd0391f7151649c
# Parent e243955016ffa880296b8d82cf531887dfb3ac22
Bug 1907511 [Linux/X11] Check mWindow at GtkCompositorWidget::LockSurface() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D216380
diff --git a/widget/gtk/GtkCompositorWidget.cpp b/widget/gtk/GtkCompositorWidget.cpp
--- a/widget/gtk/GtkCompositorWidget.cpp
+++ b/widget/gtk/GtkCompositorWidget.cpp
@@ -207,13 +207,13 @@ void GtkCompositorWidget::SetRenderingSu
#ifdef MOZ_LOGGING
bool GtkCompositorWidget::IsPopup() {
return mWidget ? mWidget->IsPopup() : false;
}
#endif
UniquePtr<MozContainerSurfaceLock> GtkCompositorWidget::LockSurface() {
- return mWidget->LockSurface();
+ return mWidget ? mWidget->LockSurface() : nullptr;
}
} // namespace widget
} // namespace mozilla