Bug 1557271 - [Wayland] Merge nsWaylandDisplayShutdown.h and nsWaylandDisplay.h, r=jhorak

Differential Revision: https://phabricator.services.mozilla.com/D33921

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Martin Stransky 2019-06-07 14:35:45 +00:00
Родитель 5d9ce4b333
Коммит 0f49145143
3 изменённых файлов: 2 добавлений и 20 удалений

Просмотреть файл

@ -73,7 +73,7 @@
#endif #endif
#ifdef MOZ_WAYLAND #ifdef MOZ_WAYLAND
# include "mozilla/widget/nsWaylandDisplayShutdown.h" # include "mozilla/widget/nsWaylandDisplay.h"
#endif #endif
#include "nsGkAtoms.h" #include "nsGkAtoms.h"

Просмотреть файл

@ -107,6 +107,7 @@ class nsWaylandDisplay {
}; };
void WaylandDispatchDisplays(); void WaylandDispatchDisplays();
void WaylandDisplayShutdown();
nsWaylandDisplay* WaylandDisplayGet(GdkDisplay* aGdkDisplay = nullptr); nsWaylandDisplay* WaylandDisplayGet(GdkDisplay* aGdkDisplay = nullptr);
#ifdef HAVE_LIBDRM #ifdef HAVE_LIBDRM

Просмотреть файл

@ -1,19 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:expandtab:shiftwidth=4:tabstop=4:
*/
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef __MOZ_WAYLAND_DISPLAY_SHUTDOWN_H__
#define __MOZ_WAYLAND_DISPLAY_SHUTDOWN_H__
namespace mozilla {
namespace widget {
void WaylandDisplayShutdown();
} // namespace widget
} // namespace mozilla
#endif // __MOZ_WAYLAND_DISPLAY_SHUTDOWN_H__