diff options
Diffstat (limited to 'chromium/ui/ozone/platform/wayland/host/wayland_window_factory.cc')
-rw-r--r-- | chromium/ui/ozone/platform/wayland/host/wayland_window_factory.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chromium/ui/ozone/platform/wayland/host/wayland_window_factory.cc b/chromium/ui/ozone/platform/wayland/host/wayland_window_factory.cc index d350c231ed9..a49ecc2750c 100644 --- a/chromium/ui/ozone/platform/wayland/host/wayland_window_factory.cc +++ b/chromium/ui/ozone/platform/wayland/host/wayland_window_factory.cc @@ -43,6 +43,7 @@ std::unique_ptr<WaylandWindow> WaylandWindow::Create( } window = std::make_unique<WaylandToplevelWindow>(delegate, connection); break; + case PlatformWindowType::kTooltip: case PlatformWindowType::kMenu: // Set the parent window in advance otherwise it is not possible to know // if the popup is able to find one and if WaylandWindow::Initialize() @@ -61,11 +62,6 @@ std::unique_ptr<WaylandWindow> WaylandWindow::Create( window = std::make_unique<WaylandToplevelWindow>(delegate, connection); } break; - case PlatformWindowType::kTooltip: - window = std::make_unique<WaylandAuxiliaryWindow>( - delegate, connection, - GetParentWindow(connection, properties.parent_widget)); - break; case PlatformWindowType::kWindow: case PlatformWindowType::kBubble: case PlatformWindowType::kDrag: |