Bug 1506665 Comment 40 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

When WebGLContext::SetDimensions() was called, mRequestedSize was different from size of DefaultFB and GLContext already existed, the SetDimensions() just cleared mDefaultFB, the mDefaultFB was allocaed again when it became necessary next time. Then DrawingBufferSize() tried to allocate DefaultFB in WebGLContext::InitializeCanvasRenderer() as in Comment 39.
When WebGLContext::SetDimensions() was called, if mRequestedSize was different from size of DefaultFB and GLContext already existed, the SetDimensions() just cleared mDefaultFB, the mDefaultFB was allocaed again when it became necessary next time. Then DrawingBufferSize() tried to allocate DefaultFB in WebGLContext::InitializeCanvasRenderer() as in Comment 39.

Back to Bug 1506665 Comment 40