ported upstream mozilla esr60 changes: bug1515052, bug1539219, bug1547757, bug1555523

This commit is contained in:
Roy Tam 2019-06-22 09:48:24 +08:00
commit bc81a6d5f5
12 changed files with 49 additions and 43 deletions

View file

@ -22,12 +22,14 @@ WebGLExtensionLoseContext::~WebGLExtensionLoseContext()
void
WebGLExtensionLoseContext::LoseContext()
{
if (!mContext) return;
mContext->LoseContext();
}
void
WebGLExtensionLoseContext::RestoreContext()
{
if (!mContext) return;
mContext->RestoreContext();
}