mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 671916 - Fix windowless Flash Player painting crash; r=cjones
This commit is contained in:
parent
7147e45572
commit
f3d98f2440
@ -3518,7 +3518,13 @@ PluginInstanceChild::SwapSurfaces()
|
||||
|
||||
mDoubleBufferCARenderer.ClearFrontSurface();
|
||||
}
|
||||
#endif //MOZ_WIDGET_COCOA
|
||||
#else
|
||||
if (mCurrentSurface && mBackSurface &&
|
||||
(mCurrentSurface->GetSize() != mBackSurface->GetSize() ||
|
||||
mCurrentSurface->GetContentType() != mBackSurface->GetContentType())) {
|
||||
ClearCurrentSurface();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user