Bug 1725126 [Linux] Build PopupAlignmentToGdkGravity(), r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D122331
This commit is contained in:
stransky 2021-08-11 19:17:26 +00:00
Родитель ff327b8295
Коммит bfd7403f87
1 изменённых файлов: 0 добавлений и 2 удалений

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

@ -2082,7 +2082,6 @@ void nsWindow::NativeMoveResizeWaylandPopupCallback(
}
}
#ifdef MOZ_WAYLAND
static GdkGravity PopupAlignmentToGdkGravity(int8_t aAlignment) {
switch (aAlignment) {
case POPUPALIGNMENT_NONE:
@ -2115,7 +2114,6 @@ static GdkGravity PopupAlignmentToGdkGravity(int8_t aAlignment) {
}
return GDK_GRAVITY_STATIC;
}
#endif
void nsWindow::NativeMoveResizeWaylandPopup(GdkPoint* aPosition,
GdkRectangle* aSize) {