When transferToImageBitmap happens, the created ImageBitmap only keeps a mailbox which contains the texture info. It should keep track of the GrContext that comes from the original drawing buffer. We should use that GrContext when this ImageBitmap is consumed later. Also, when this ImageBitmap is transferred, we need to re-mailbox the texture.
Comment 1 by bugdroid1@chromium.org
, May 27 2016