void HTMLCanvasElement::didProcessTask() { // This method gets invoked if didDraw was called earlier in the current task. ASSERT(!m_dirtyRect.isEmpty()); if (is3D()) { didFinalizeFrame(); } else { ASSERT(hasImageBuffer()); m_imageBuffer->finalizeFrame(m_dirtyRect); } ASSERT(m_dirtyRect.isEmpty()); }
void ImageBuffer::finalizeFrame(const FloatRect &dirtyRect) { m_surface->finalizeFrame(dirtyRect); didFinalizeFrame(); }
void ImageBuffer::finalizeFrame() { m_surface->finalizeFrame(); didFinalizeFrame(); }