When transferFromImageBitmap is called, the dimensions of the HTMLCanvasElement should be updated.
<rdar://problem/35285218>
Created attachment 325530 [details] Patch
Comment on attachment 325530 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325530&action=review > Source/WebCore/html/HTMLCanvasElement.cpp:982 > m_imageBuffer = WTFMove(buffer); > } > > + if (m_imageBuffer && m_size != m_imageBuffer->internalSize()) > + m_size = m_imageBuffer->internalSize(); Why is this function const?
Committed r224283: <https://trac.webkit.org/changeset/224283>