Skip to content

Commit 37f92b2

Browse files
committed
Backed out changeset 880f56e1656b (bug 1603839) for causing build bustages on GtkCompositorWidget.h
CLOSED TREE UltraBlame original commit: 97746752b28722cf211936074133ae771f760fec
1 parent aa065a6 commit 37f92b2

File tree

5 files changed

+19
-46
lines changed

5 files changed

+19
-46
lines changed

widget/gtk/CompositorWidgetParent.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ get_GtkCompositorWidgetInitData
152152
(
153153
)
154154
aOptions
155-
nullptr
156155
)
157156
{
158157
MOZ_ASSERT

widget/gtk/GtkCompositorWidget.cpp

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -253,34 +253,28 @@ MOZ_WAYLAND
253253
if
254254
(
255255
!
256-
aInitData
257-
.
258-
IsX11Display
259-
(
260-
)
256+
mXDisplay
261257
)
262258
{
263-
if
259+
MOZ_RELEASE_ASSERT
264260
(
265-
!
266261
aWindow
267-
)
268-
{
269-
NS_WARNING
270-
(
271262
"
272-
GtkCompositorWidget
273-
:
274263
We
275264
'
276265
re
277-
missing
266+
running
267+
on
268+
Wayland
269+
and
270+
but
271+
without
272+
valid
278273
nsWindow
279-
!
274+
.
280275
"
281276
)
282277
;
283-
}
284278
mProvider
285279
.
286280
Initialize
@@ -596,8 +590,6 @@ GetEGLNativeWindow
596590
)
597591
{
598592
return
599-
mWidget
600-
?
601593
(
602594
EGLNativeWindowType
603595
)
@@ -608,8 +600,6 @@ GetNativeData
608600
(
609601
NS_NATIVE_EGL_WINDOW
610602
)
611-
:
612-
nullptr
613603
;
614604
}
615605
#

widget/gtk/GtkCompositorWidget.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,8 @@ aOptions
202202
nsWindow
203203
*
204204
aWindow
205-
/
206-
*
207205
=
208206
nullptr
209-
*
210-
/
211207
)
212208
;
213209
~
@@ -390,9 +386,6 @@ mXWindow
390386
WindowSurfaceProvider
391387
mProvider
392388
;
393-
bool
394-
mIsX11Display
395-
;
396389
}
397390
;
398391
}

widget/gtk/PlatformWidgetTypes.ipdlh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@ XDisplayString
147147
bool
148148
Shaped
149149
;
150-
bool
151-
IsX11Display
152-
;
153150
LayoutDeviceIntSize
154151
InitialClientSize
155152
;

widget/gtk/nsWindow.cpp

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49391,19 +49391,6 @@ mXDisplay
4939149391
)
4939249392
;
4939349393
}
49394-
bool
49395-
isShaped
49396-
=
49397-
mIsTransparent
49398-
&
49399-
&
49400-
!
49401-
mHasAlphaVisual
49402-
&
49403-
&
49404-
!
49405-
mTransparencyBitmapForTitlebar
49406-
;
4940749394
*
4940849395
aInitData
4940949396
=
@@ -49441,8 +49428,15 @@ mXDisplay
4944149428
nsCString
4944249429
(
4944349430
)
49444-
isShaped
49445-
mIsX11Display
49431+
mIsTransparent
49432+
&
49433+
&
49434+
!
49435+
mHasAlphaVisual
49436+
&
49437+
&
49438+
!
49439+
mTransparencyBitmapForTitlebar
4944649440
GetClientSize
4944749441
(
4944849442
)

0 commit comments

Comments
 (0)