ClientWebGLContext::GetFrontBuffer() returs Maybe<layers::SurfaceDescriptor> now. Then it is used to create TextureClient. If the GetFrontBuffer() returns extureClient, intent of the function be comes cleaner. And it is a preparation of Bug 1712486.
Bug 1772493 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
ClientWebGLContext::GetFrontBuffer() returs Maybe<layers::SurfaceDescriptor> now. Then it is used to create TextureClient. If the GetFrontBuffer() returns TextureClient, intent of the function be comes cleaner. And it is a preparation of Bug 1712486.