mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1221276 - Don't crash if we don't have a surface. r=nical
This commit is contained in:
parent
0873826251
commit
b727a23f99
@ -439,6 +439,10 @@ CanvasClientSharedSurface::UpdateRenderer(gfx::IntSize aSize, Renderer& aRendere
|
||||
void
|
||||
CanvasClientSharedSurface::Updated()
|
||||
{
|
||||
if (!mNewFront) {
|
||||
return;
|
||||
}
|
||||
|
||||
auto forwarder = GetForwarder();
|
||||
|
||||
#ifndef MOZ_WIDGET_GONK
|
||||
|
Loading…
Reference in New Issue
Block a user