encodeImage 407 Source/platform/graphics/ImageBuffer.cpp if (!isSurfaceValid() || !encodeImage(m_surface->bitmap(), mimeType, quality, &encodedImage)) encodeImage 420 Source/platform/graphics/ImageBuffer.cpp if (!encodeImage(imageData, mimeType, quality, &encodedImage))