зеркало из https://github.com/mozilla/pjs.git
Bug 671916 - Fix windowless Flash Player painting crash; r=cjones
This commit is contained in:
Родитель
185a9d32ff
Коммит
ea451bc5b1
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче