Avoid invalid cairo matrix when drawing surfaces too small
Created attachment 216184 [details] Patch
Comment on attachment 216184 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216184&action=review Thanks! One small nit in the patch. > Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp:164 > FloatRect srcRect = originalSrcRect; > > + // Avoid invalid cairo matrix with small values. > + if (std::fabs(destRect.width()) < 0.5f || std::fabs(destRect.height()) < 0.5f) > + return; > + Please move this above the definition of srcRect, as srcRect is only used afterward.
Created attachment 216314 [details] Patch
Comment on attachment 216314 [details] Patch Clearing flags on attachment: 216314 Committed r158861: <http://trac.webkit.org/changeset/158861>
All reviewed patches have been landed. Closing bug.