From def92d1b8e9d373e2f6f27c366d578d97d8960c6 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel.baumann@progress-linux.org>
Date: Wed, 15 May 2024 05:34:50 +0200
Subject: Merging upstream version 126.0.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
---
 widget/gtk/MozContainerWayland.cpp | 15 ---------------
 1 file changed, 15 deletions(-)

(limited to 'widget/gtk/MozContainerWayland.cpp')

diff --git a/widget/gtk/MozContainerWayland.cpp b/widget/gtk/MozContainerWayland.cpp
index 8490f25599..39e8a48390 100644
--- a/widget/gtk/MozContainerWayland.cpp
+++ b/widget/gtk/MozContainerWayland.cpp
@@ -419,21 +419,6 @@ gboolean moz_container_wayland_map_event(GtkWidget* widget,
   return FALSE;
 }
 
-void moz_container_wayland_map(GtkWidget* widget) {
-  LOGCONTAINER("%s [%p]\n", __FUNCTION__,
-               (void*)moz_container_get_nsWindow(MOZ_CONTAINER(widget)));
-
-  g_return_if_fail(IS_MOZ_CONTAINER(widget));
-
-  // We need to mark MozContainer as mapped to make sure
-  // moz_container_wayland_unmap() is called on hide/withdraw.
-  gtk_widget_set_mapped(widget, TRUE);
-
-  if (gtk_widget_get_has_window(widget)) {
-    gdk_window_show(gtk_widget_get_window(widget));
-  }
-}
-
 void moz_container_wayland_size_allocate(GtkWidget* widget,
                                          GtkAllocation* allocation) {
   GtkAllocation tmp_allocation;
-- 
cgit v1.2.3