mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1430018 - Don't use nsWindow::IsX11Display() as it's not implemented, r=jhorak
MozReview-Commit-ID: cR6q3fBhTo --HG-- extra : rebase_source : ab137c3fe504555155f998b7d7e4332f9f802fae
This commit is contained in:
parent
bbcf106cbd
commit
54fb55b16f
@ -56,7 +56,7 @@ void WindowSurfaceProvider::Initialize(
|
||||
#ifdef MOZ_WAYLAND
|
||||
void WindowSurfaceProvider::Initialize(nsWindow *aWidget)
|
||||
{
|
||||
MOZ_ASSERT(!aWidget->IsX11Display(),
|
||||
MOZ_ASSERT(aWidget->GetWaylandDisplay(),
|
||||
"We are supposed to have a Wayland display!");
|
||||
|
||||
mWidget = aWidget;
|
||||
|
Loading…
Reference in New Issue
Block a user